Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Events.Item.SetCalendar
Sets the calendar for the event.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Events | 6.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "Events.Item.SetCalendar"; EKCalendarItem; EKCalendar ) More
Parameters
Parameter | Description | Example |
---|---|---|
EKCalendarItem | The reference to the calendar item: an event or reminder. | $item |
EKCalendar | The identifier or name of the calendar. | $calendar |
Result
Returns OK or error.
Description
Sets the calendar for the event.You can pass calendar by ID or by name.
Examples
Set calendar:
Set Variable [$r; Value:MBS( "Events.Item.SetCalendar"; $reminder; $calendar )]
See also
- Calendar.Item.SetCalendar
- Events.Item.GetCalendar
- Events.NewEvent
- Events.NewReminder
- Events.RemoveCalendar
- Events.SaveEvent
- Events.SaveReminder
Release notes
- Version 8.0
- Changed Events.Item.SetCalendar to pick reminder calendar by name if you edit reminder and not an events calendar.
Example Databases
- Mac and iOS/Events/Events Create Event
- Mac and iOS/Events/Events Create Reminder
- Mac and iOS/Events/Events Sync
Blog Entries
FileMaker Magazin
This function checks for a license.
Created 10th March 2016, last changed 4th January 2022