Month View with Multiple Sources >5
Posted: Thu Nov 14, 2013 4:38 am
Hi
I'm using Pro calendar (build 5.6). Until a week ago I had 4 sources for my calendar, all working nicely. I've now added 3 more calendar sources. Now, when I run the main settings script to default to 5 sources or less, it still works as expected. Only if I increase the number of sources to use e.g. "List (1;2;3;4;5;6;7 )" does the calendar generation script ("Insert iCal File Into Calendar {UseExistingData}") gets stuck in infinite loop. Please can you advise me which scripts to look at in order to troubleshoot this one.
Here's some more background info which I hope will give you some insight:
1. I only need calendar month view to work.
2. In practice users input one event per day. Never any more.
3. I'm doing something a bit unconventional. All 7 calendar sources point to the same table. The intention is for each day to display 7 fields from the same event record, one per line.
4. The attached two images both show the month view for November 20 2013:
a) On the left is when I've setup default sources to be 5. (Only three lines are showing in the example because there's no data in the other two fields.)
b) The image on the right is when I've set default sources to be 7. You can see that it starts creating the event correctly, the first line was put in right. At some point it goes haywire with a second rogue event "In Res TBC ATW/CD". The system gets stuck in a loop, placing this same event in all the days cells throughout the month. You can see at the bottom that there are 149 more events for that day. All the extra events for that day are for the same rogue event whose real date is 4 December 2013.
5. Extra script adjustments for sources > 5: The Seedcode Calendar Pro instructions tell me to visit a bunch of scripts and make adjustments for any sources beyond 5. It's told me "If you're creating Source No 5 or lower, you're done. Enter browse mode, run your Upon Opening script and enjoy. If you're creating Source No 6 or higher you'll need to edit a few scripts…" I've followed those instructions.
Please can you give me some areas to investigate where the script may be going wrong.
Many thanks
Kevin
I'm using Pro calendar (build 5.6). Until a week ago I had 4 sources for my calendar, all working nicely. I've now added 3 more calendar sources. Now, when I run the main settings script to default to 5 sources or less, it still works as expected. Only if I increase the number of sources to use e.g. "List (1;2;3;4;5;6;7 )" does the calendar generation script ("Insert iCal File Into Calendar {UseExistingData}") gets stuck in infinite loop. Please can you advise me which scripts to look at in order to troubleshoot this one.
Here's some more background info which I hope will give you some insight:
1. I only need calendar month view to work.
2. In practice users input one event per day. Never any more.
3. I'm doing something a bit unconventional. All 7 calendar sources point to the same table. The intention is for each day to display 7 fields from the same event record, one per line.
4. The attached two images both show the month view for November 20 2013:
a) On the left is when I've setup default sources to be 5. (Only three lines are showing in the example because there's no data in the other two fields.)
b) The image on the right is when I've set default sources to be 7. You can see that it starts creating the event correctly, the first line was put in right. At some point it goes haywire with a second rogue event "In Res TBC ATW/CD". The system gets stuck in a loop, placing this same event in all the days cells throughout the month. You can see at the bottom that there are 149 more events for that day. All the extra events for that day are for the same rogue event whose real date is 4 December 2013.
5. Extra script adjustments for sources > 5: The Seedcode Calendar Pro instructions tell me to visit a bunch of scripts and make adjustments for any sources beyond 5. It's told me "If you're creating Source No 5 or lower, you're done. Enter browse mode, run your Upon Opening script and enjoy. If you're creating Source No 6 or higher you'll need to edit a few scripts…" I've followed those instructions.
Please can you give me some areas to investigate where the script may be going wrong.
Many thanks
Kevin