Hello,
I have followed the instructions to add my own fields to a calendar view by creating the relationship CalendarEventUIDCalc_FirstValue = _id .
I added the fields to the day view by placing them right on top of the calendarContentReptCalc field. When I switch from day to day, the data from the field persist in the same line position it was in from the day i was viewing, even if the event does not exist on the next day. the one way i can get it to correct itself is by dragging and dropping an event on a given day, then it seems to refresh completely and order my fields appropriately. using the refresh button or creating a new event and using the close and refresh script from the button will not do this.
I started looking at where the variable $$sc_ArrayContent was used in the scripts and calcs, thinking i could add these fields to this array data and realized that this was a deeper rabbithole that i was prepared to jump into.
any advice on where to go from here will be appreciated, please let me know if I need to clarify the issue.
Freddy Olsen
FM11
pro calendar (build 5.53)
Fields added to day view dont sort with event
3 posts
• Page 1 of 1
Posts: 2
Joined: Wed Mar 31, 2010 5:50 am |
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
No problem Freddy. Change the Refresh Window step at the end of the Refresh Calendar script to use the Fluch Cached Join results option. If you're on a Mac you can leave it like this but if you're on windows or want the best possible performance you can wrap it in an If statement so it uses the Flush option only when $$sc_Mode = "Day Sched".
(I'll add this to the instructions... sorry for the omission!) - John John Sindelar
SeedCode |
Posts: 2
Joined: Wed Mar 31, 2010 5:50 am |
Worked great, of course!
Thanks John! |
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests