SeedCodeCalendarFree

Create Events

Can I make event records from outside the calendar, such as from portals on my other layouts?

Absolutely. In fact, there is a script 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 }" and it can take any number of parameters to let you manipulate events using your own scripts.

For example, you may use the following parameter to create a new event for the current date:

"SourceNo = 1 ; Operation = Create ; DateStart = " & Get ( CurrentDate )

Read the comments at the beginning of this script to learn about other parameters you can send to this script.

(855) SEEDCODE
[email protected]
Follow us: