Create Events
DayBackForFileMaker.CreateEvents History
Hide minor edits - Show changes to markup
https://www.seedcode.com/rootimages/stikipad/dayback/samplecontacts.png
https://archive.seedcode.com/rootimages/stikipad/dayback/samplecontacts.png
Read the comments at the beginning of this script to learn about other parameters you can send to this script.
Read the comments at the beginning of this script to learn about other parameters you can send to this script. If you need to create event records from other layouts, or as part of scripted processes (like "create a followup call for this contact two weeks from today"), this script is your friend.
https://www.seedcode.com/rootimages/stikipad/pro12/contactcreateevent.png
https://www.seedcode.com/rootimages/stikipad/dayback/samplecontacts.png
Note that you can change this behavior if you wish by editing the script "Determine source for a new event"
Absolutely. In fact, you'll see an example of this on our Sample Contacts layout where we have a "new event for this contact" button. That button calls one of the scripts in the calendar specifically set up to receive commands from your other layouts (or even other files).
Absolutely. In fact, you'll see an example of this on our Sample Contacts layout where we have a "new event for contact" button. That button calls one of the scripts in the calendar specifically set up to receive commands from your other layouts (or even other files).
https://www.seedcode.com/rootimages/stikipad/nextcal/samplecontacts.png
https://www.seedcode.com/rootimages/stikipad/pro12/contactcreateevent.png
How can I create events for a specific source?
If you have multiple sources in the calendar we follow a simple rule to determine in which source an event is created:
Note that you can change this behavior if you wish by editing the script "Determine source for a new event"
https://www.seedcode.com/rootimages/stikipad/nextcal/samplecontacts.png
https://www.seedcode.com/rootimages/stikipad/nextcal/samplecontacts.png
https://www.seedcode.com/rootimages/stikipad/nextcal/samplecontacts.png
https://www.seedcode.com/rootimages/stikipad/nextcal/samplecontacts.png
https://www.seedcode.com/rootimages/stikipad/nextcal/samplecontacts.png
https://www.seedcode.com/rootimages/stikipad/nextcal/samplecontacts.png
https://www.seedcode.com/rootimages/stikipad/nextcal/samplecontacts.png
https://www.seedcode.com/rootimages/stikipad/nextcal/samplecontacts.png
https://www.seedcode.com/rootimages/stikipad/nextcal/samplecontacts.png
https://www.seedcode.com/rootimages/stikipad/nextcal/samplecontacts.png
https://www.seedcode.com/rootimages/stikipad/nextcal/samplecontacts.png
https://www.seedcode.com/rootimages/stikipad/nextcal/samplecontacts.png
https://www.seedcode.com/rootimages/stikipad/nextcal/samplecontacts.png
Can I make event records from outside the calendar, such as from portals on my other layouts?
Absolutely. In fact, you'll see an example of this on our Sample Contacts layout where we have a "new event for this contact" button. That button calls one of the scripts in the calendar specifically set up to receive commands from your other layouts (or even other files).
The script is called "Create Edit Delete Event ( SourceNo ) { Operation , DateStart , DateEnd , TimeStart , Resource... }" and it can take any number of parameters to let you manipulate events using your own scripts.
In our Sample Contacts example we send the following parameters to create a new record for the contact we're looking at:
Read the comments at the beginning of this script to learn about other parameters you can send to this script.