Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Events.NewEvent
Creates a new event.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Events | 6.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameters
none
Result
Returns event ID or error.
Description
Creates a new event.Examples
Create event:
Set Variable [$c; Value:MBS("Events.NewEvent")]
Set Variable [$r; Value:MBS("Events.Item.SetTitle"; $c; CalendarTest::ItemTitle)]
Set Variable [$r; Value:MBS("Events.Item.SetNotes"; $c; CalendarTest::ItemNotes)]
Set Variable [$r; Value:MBS("Events.Item.SetURL"; $c; CalendarTest::ItemURL)]
Set Variable [$r; Value:MBS("Events.Item.SetLocation"; $c;CalendarTest::ItemLocation)]
Set Variable [$r; Value:MBS("Events.Event.SetStartDate"; $c; CalendarTest::ItemStartDate)]
Set Variable [$r; Value:MBS("Events.Event.SetEndDate"; $c; CalendarTest::ItemEndDate)]
Set Variable [$r; Value:MBS("Events.Event.SetAllDay"; $c;CalendarTest::ItemAllDay)]
Set Variable [$r; Value:MBS("Events.Event.SetAvailability"; $c; "busy")]
Set Variable [$r; Value:MBS("Events.Item.SetCalendar"; $c; CalendarTest::CalendarUID)]
Set Variable [$r; Value:MBS("Events.SaveEvent"; $c; "this"; 1 )]
Set Field [CalendarTest::ItemUID; MBS("Events.Item.CalendarItemIdentifier"; $c)]
See also
- Events.Event.SetAllDay
- Events.Event.SetAvailability
- Events.Event.SetStartDate
- Events.Item.CalendarItemIdentifier
- Events.Item.SetCalendar
- Events.Item.SetLocation
- Events.Item.SetNotes
- Events.Item.SetTitle
- Events.SaveEvent
- FSEvents.NextEvent
Example Databases
Blog Entries
- MBS FileMaker iOS SDK Extension 0.2
- MBS FileMaker iOS SDK Extension 0.1
- FileMaker and Calendar (iCal)
FileMaker Magazin
This function checks for a license.
Created 10th March 2016, last changed 24th March 2016