I have a portal on an FM layout that points to some events in DB19. I wanted to have a button that would be next to each event in the portal, that when clicked would change the calendar to the appropriate date and the open the event. I have the button calling the BB script called "Show Event On Calendar - DayBack" and I've set the script parameter to this:
JSONSetElement ( "{}" ;
["eventID" ; B33__calendar_events::id ; JSONString];
["date" ; B33__calendar_events::DateStart ; JSONString]
)
Not working so I know I've made some wrong assumptions.
DB19 - Open Event from FM portal
3 posts
• Page 1 of 1
Posts: 109
Joined: Fri Jul 17, 2009 7:44 am |
|
Posts: 109
Joined: Fri Jul 17, 2009 7:44 am |
Actually I just rebooted and it suddenly worked. Then it didn't. , however it changed to the Horizon view. How do I keep it on the last view the user had used (like Week Sched)?
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
I think you may have multiple windows open and DayBack thought "horizon" was the latest from one of those. The script always uses the last layout visited--and you can see this in action if you click on the carrot beside one of the events in DayBack's Project Detail layout (one of the example layouts that ships with DayBack.)
Jim, we're not using this form for support anymore and just have it up for reference-- would you please email [email protected] with requests instead? We have many more tools there to help (like inline references to our docs, etr.) Thanks! John Sindelar
SeedCode |
3 posts
• Page 1 of 1
Return to DayBack Calendar for FileMaker
Who is online
Users browsing this forum: No registered users and 2 guests