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

Events.Calendar.GetSource

Query the source ID for this calendar.

Component Version macOS Windows Linux Server iOS SDK
Events 6.2 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "Events.Calendar.GetSource"; EKCalendar )   More

Parameters

Parameter Description Example
EKCalendar The identifier or name of the calendar. $calendar

Result

Returns source reference number or error.

Description

Query the source ID for this calendar.
The source representing the 'account' this calendar belongs to.
This is only settable when initially creating a calendar and then effectively read-only after that. That is, you can create a calendar, but you cannot move it to another source.

See Events.Sources to get a list of all sources.

Examples

Query source title for calendar:

MBS( "Events.Source.Title"; MBS( "Events.Calendar.GetSource"; "Firma" ))

See also

Example Databases

This function checks for a license.

Created 10th March 2016, last changed 9th November 2021


Events.Calendar.GetColor - Events.Calendar.GetTitle