Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Events.SaveCalendar

Saves changes to a calendar, or adds a new calendar to the database.

Component Version macOS Windows Linux Server iOS SDK
Events 6.2 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "Events.SaveCalendar"; EKCalendar { ; Commit } )   More

Parameters

Parameter Description Example Flags
EKCalendar The id of the calendar to query. $calendar
Commit Whether to commit.
Pass 1 to commit or 0 to not commit.
Default is 1.
Pass 0 to batch changes together and commit with Events.Commit later.
1 Optional

Result

Returns OK or error.

Description

Saves changes to a calendar, or adds a new calendar to the database.
This functions attempts to save the given calendar to the calendar database. It returns OK if successful and an error otherwise.

You may still need to call Events.Commit later.

See also

Created 10th March 2016, last changed 17th March 2021


Events.Reset - Events.SaveEvent

Feedback: Report problem or ask question.