Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Events.NewEvent
Creates a new event.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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
Created 10th March 2016, last changed 24th March 2016
Events.NewCalendar - Events.NewReminder
Feedback: Report problem or ask question.
Links
MBS Xojo tutorial videos