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.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

💬 Ask a question or report a problem