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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

Events.defaultCalendarForNewEvents

Returns the calendar that events should be added to by default.

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

Parameters

Parameter Description Example Flags
AsJSON Available in MBS FileMaker Plugin 13.4 or newer.
Pass 1 to return result as JSON.
Optional

Result

Returns calendar identifier or error.

Description

Returns the calendar that events should be added to by default.

Examples

Query name of default calendar:

MBS("Events.Calendar.GetTitle"; MBS( "Events.defaultCalendarForNewEvents" ))

Query calendar with JSON:

MBS( "Events.defaultCalendarForNewEvents"; 1)

Example result:
{ "subscribed" : false, "source" : { "sourceTypeText" : "CalDAV", "title" : "Mac.com", "sourceIdentifier" : "68B72E23-6DC9-47EC-9C29-D844DB9F77BD", "isDelegate" : false, "sourceType" : 2 }, "title" : "Private Termine", "allowedEntityTypes" : 1, "supportedEventAvailabilities" : 3, "allowsContentModifications" : true, "type" : 1, "immutable" : false, "calendarIdentifier" : "6D73CE3F-4ED1-4C03-BE57-AA3101D14999", "typeText" : "CalDAV" }

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 10th March 2016, last changed 20th July 2023


Events.StructuredLocation.Title - Events.defaultCalendarForNewReminders

💬 Ask a question or report a problem