Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Calendar.Events

Queries events.

Component Version macOS Windows Linux Server iOS SDK
Calendar 3.4 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "Calendar.Events"; startDate; endDate { ; calendarRef } )   More

Parameters

Parameter Description Example Flags
startDate The start date time stamp. $startDate
endDate The end time stamp.
If you want to get events for one day, please pass startDate with that date and time 00:00:00 and for enddate the same date with endDate 23:59:59.
$endDate
calendarRef A calendar identifier or name to search only this calendar.
If no calendar is specified, we check all calendars.
$calendarRef Optional

Result

Returns list of event identifiers or error.

Description

Queries events.
If you pass calendar, only this calendar is searched. Else the specific calendar is searched.
If you get no events, please check in system privacy preferences whether FileMaker does have permissions to access the calendars at all.
The system limits results to around 4 years, so if you need to query bigger time spans, please use several calls.

Examples

Queries events:

MBS( "Calendar.Events"; myDatabase::StartDate; myDatabase::EndDate )

See also

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 11st October 2019


Calendar.Calendars - Calendar.Initialize