Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Events.Calendar.SetSource
Sets the source for a new calendar.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Events | 6.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "Events.Calendar.SetSource"; EKCalendar; EKSource ) More
Parameters
Parameter | Description | Example |
---|---|---|
EKCalendar | The identifier or name of the calendar. | $calendar |
EKSource | The reference to the source. | $Source |
Result
Returns OK or error.
Description
Sets the source for a new calendar.You need to save the changes to be persistent.
See Events.Sources to get all IDs for sources.
See also
- Events.Calendar.GetColor
- Events.Calendar.GetSource
- Events.Calendar.GetTitle
- Events.Calendar.GetType
- Events.Calendar.SetColor
- Events.Calendar.SetTitle
- Events.SaveCalendar
- Events.Sources
Example Databases
This function checks for a license.
Created 12nd March 2016, last changed 4th January 2022