Default status for new event.

Notes on our latest calendar for FileMaker 13,: DayBack
Posts: 2
Joined: Tue Sep 29, 2015 8:49 pm
PostPosted: Sun Feb 10, 2019 11:39 pm
Is it possible to set default status for new event, I know I cannot do auto calculate field on status of sample events as that will not be reflected when they do new event via the web viewer. Is there anyway I can do it?
SeedCode Staff
SeedCode Staff
Posts: 253
Joined: Tue Nov 08, 2016 1:54 pm
PostPosted: Mon Feb 11, 2019 9:03 am
Hi metrogeekythinker,

If you're running DayBack 10.42 or later, you can take advantage of the new Event Actions in DayBack for FileMaker: https://www.seedcode.com/pmwiki/index.p ... entActions

With an On Event Create event action, you could set the "editEvent.status" value to whichever default status that you'd like and the popover will be pre-populated with that value. More details on the objects available in JavaScript button and event actions can be found here: https://www.seedcode.com/pmwiki/index.p ... ionObjects

And if you'd like help with this custom action, we offer implementation packages so we can do some screen-sharing with you, or have you send over the files so we can finish the implementation for you. Packages can be used for consulting, coaching, or modifications like these and start at blocks of 3 hrs for $190/hr. When the time comes, you can use this link and, with a day or two notice, we can schedule some time to work with you:

http://sites.fastspring.com/seedcode/pr ... onpackages

I hope that helps! Let us know if you have any further questions.

Regards,

KC
Posts: 2
Joined: Tue Sep 29, 2015 8:49 pm
PostPosted: Wed Feb 13, 2019 6:31 am
My version is 10.31, so there is no workaround for that version? I managed to do it under the Submit Event From WebViewer script but it only happened after it saved and closed.
SeedCode Staff
SeedCode Staff
Posts: 253
Joined: Tue Nov 08, 2016 1:54 pm
PostPosted: Wed Feb 13, 2019 9:12 am
Hi metrogeekythinker,

That's correct. Before we introduced Event Actions in DayBack for FileMaker, you could still accomplish the same as an "On Save" action with the FileMaker scripts.

The other option, if you decide you'd rather not update your DayBack, would be to use your own event layout so that you can control what happens when the event layout is opened, saved, or deleted in FileMaker scripts.

Regards,

KC

Return to DayBack Calendar for FileMaker

Who is online

Users browsing this forum: No registered users and 2 guests

cron
(855) SEEDCODE
support@seedcode.com
Follow us: