Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Creates a new event.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Calendar 3.4 Yes No No No No
MBS( "Calendar.NewEvent" )   More




Returns ID of new event.


Creates a new event.
Calendar item reference numbers are starting at 27000 and counting up for each new item.
Or the plugin returns you the UUID for the event.


Create an event:

#new event
Set Variable [$c; Value:MBS("Calendar.NewEvent")]
# set title and other variables
Set Variable [$r; Value:MBS("Calendar.Item.SetTitle"; $c; CalendarTest::ItemTitle)]
Set Variable [$r; Value:MBS("Calendar.Item.SetNotes"; $c; CalendarTest::ItemNotes)]
Set Variable [$r; Value:MBS("Calendar.Item.SetURL"; $c; CalendarTest::ItemURL)]
Set Variable [$r; Value:MBS("Calendar.Item.SetLocation"; $c;CalendarTest::ItemLocation)]
Set Variable [$r; Value:MBS("Calendar.Item.SetStartDate"; $c; CalendarTest::ItemStartDate)]
Set Variable [$r; Value:MBS("Calendar.Item.SetEndDate"; $c; CalendarTest::ItemEndDate)]
Set Variable [$r; Value:MBS("Calendar.Item.SetAllDay"; $c;CalendarTest::ItemAllDay)]
Set Variable [$r; Value:MBS("Calendar.Item.SetCalendar"; $c; CalendarTest::CalendarUID)]
# save event
Set Variable [$r; Value:MBS("Calendar.SaveEvent"; $c )]
# store id for later reference
Set Field [CalendarTest::ItemUID; MBS("Calendar.Item.GetUID"; $c)]

See also

Example Databases

Created 18th August 2014, last changed 10th August 2016

Calendar.NewCalendar   -   Calendar.NewReminder

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos