We have integrated SeedCode Calendar Free into our multi-user solution and it is working well. However, upon opening (through 'Open Script'), a dialog pops-up showing that records are being deleted. Upon investigation, we found that this function is part of the sub-script 'Create Calendar Records'
(Script Hierarchy: Open Script -> Upon Opening -> Load Calendar Settings - On Startup --- Edit Configuration Here --- -> Create Calendar Records)
Question: Will disabling the 'If' statements (found at two places in the 'Create Calendar Records' script) containing the 'Delete All Records' step in the script affect the tool's operation?
Thanks!
Create Calendar Records script
2 posts
• Page 1 of 1
Posts: 1
Joined: Mon Aug 02, 2010 10:27 am |
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Hi Eric,
Thanks for your post. As you probably know, the calendar requires some dummy records in a table called CalendarRows. The script you're talking about tries to make sure that users haven't deleted, duplicated, or created new records in this table. So if you can be sure they haven't (because you've prevented them from doing this with access privileges or custom menus) then you can turn this whole section off by disabling the If(). You may just want to fix it though... I imagine the reason it is deleting and creating them each time you launch is that the script is no loner running from a layout were it can evaluate "CalendarRows::RowNumber". If you change the beginning of the script to go to a layout based on CalendarInterface (where our home layout is / used to be) the script should only reset the CalendarRows table if there is a problem. Just don't go to one of the actual calendar layouts just to get to a layout based on CalendarInterface, since those layout are script triggered and could delay / loop your startup. Hope that helps, John John Sindelar
SeedCode |
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 3 guests