Create Events
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"
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.