Mac OS X
Components Crossplatform Mac & Win Server (Not) Client Old Guides Examples
New in version: 6.3 6.4 6.5 7.0 7.1 7.2 7.3 7.4 7.5 7.6 Statistic
Removes a calendar from the database.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|Events||6.2||Yes||No||Yes, macOS only||No||No|
|EKCalendar||The id of the calendar to query.||$calendar|
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.
Returns OK or error.
DescriptionRemoves a calendar from the database.
This function attempts to delete the given calendar from the calendar database. It returns OK if successful and error otherwise.
If the calendar supports multiple entity types (allowedEntityTypes), but the user has not granted you access to all those entity types, then we will delete all of the entity types for which you have access and remove that entity type from the allowedEntityTypes. For example: If a calendar supports both events and reminders, but you only have access to reminders, we will delete all the reminders and make the calendar only support events.
If you have access to all of its allowedEntityTypes, then it will delete the calendar and all of the events and reminders in the calendar.
Feedback: Report problem or ask question.
MBS Xojo Plugins