Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Saves the event.

Component Version macOS Windows Linux Server iOS SDK
Calendar 3.4 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "Calendar.SaveEvent"; eventRef )   More


Parameter Description Example
eventRef The id of the event to query. $eventRef


Returns OK or error.


Saves the event.


Creates new event:

$c = MBS("Calendar.NewEvent");
$r = MBS("Calendar.Item.SetTitle"; $c; CalendarTest::ItemTitle)
$r = MBS("Calendar.Item.SetNotes"; $c; CalendarTest::ItemNotes)
$r = MBS("Calendar.Item.SetURL"; $c; CalendarTest::ItemURL)
$r = MBS("Calendar.Item.SetLocation"; $c;CalendarTest::ItemLocation)
$r = MBS("Calendar.Item.SetStartDate"; $c; CalendarTest::ItemStartDate)
$r = MBS("Calendar.Item.SetEndDate"; $c; CalendarTest::ItemEndDate)
$r = MBS("Calendar.Item.SetAllDay"; $c;CalendarTest::ItemAllDay)
$r = MBS("Calendar.Item.SetCalendar"; $c; CalendarTest::CalendarUID)
$r = MBS("Calendar.SaveEvent"; $c )

Create a new reminder:

$id = MBS("Calendar.NewReminder")
$r = MBS( "Calendar.Item.SetDueDate"; $id; Get(CurrentHostTimeStamp) )
$r = MBS( "Calendar.Item.SetTitle"; $id; "Test" )
$r = MBS( "Calendar.Item.SetCalendar"; $id; "Erinnerungen" )
$r = MBS( "Calendar.SaveReminder"; $id )

See also

Example Databases

This function checks for a license.

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

Calendar.SaveCalendar - Calendar.SaveReminder