Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Calendar.SaveEvent
Saves the event.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Calendar | 3.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Deprecated
This function was deprecated.
Parameters
Parameter | Description | Example |
---|---|---|
EventRef | The id of the event to query. | $eventRef |
Result
Returns OK or error.
Description
Saves the event.Examples
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
- Calendar.Item.SetAllDay
- Calendar.Item.SetCalendar
- Calendar.Item.SetLocation
- Calendar.Item.SetNotes
- Calendar.Item.SetStartDate
- Calendar.Item.SetURL
- Calendar.NewEvent
- Calendar.RemoveEvent
- Calendar.SaveReminder
- Calendar.SelectEvent
Example Databases
Blog Entries
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014
