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.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Creates a new location.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Events 6.2 Yes No No No Yes
MBS( "Events.StructuredLocation.NewLocationWithTitle"; Title )   More


Parameter Description Example value
Title The new title of location. "Hamburg, Germany"


Returns reference ID or error.


Creates a new location.
Returns reference ID which you can pass to Events.Event.SetStructuredLocation function.


Create structured location for alarm:

Set Variable [$l; Value:MBS( "Events.StructuredLocation.NewLocationWithTitle"; Events Create Reminder::AlarmLocationTitle )]
Set Variable [$r; Value:MBS( "Events.StructuredLocation.SetRadius"; $l; Events Create Reminder::AlarmLocationRadius )]
Set Variable [$r; Value:MBS( "Events.StructuredLocation.SetGeoLocation"; $l; Events Create Reminder::AlarmLocationGeoLat; Events Create Reminder::AlarmLocationGeoLong )]
Set Variable [$r; Value:MBS( "Events.Alarm.SetStructuredLocation"; $alarm; $l)]
Set Variable [$r; Value:MBS( "Events.Alarm.SetProximity"; $alarm; Events Create Reminder::AlarmProximity )]

See also

Example Databases

Created 10th March 2016, last changed 13th March 2016

Events.StructuredLocation.GetRadius   -   Events.StructuredLocation.SetGeoLocation

Feedback: Report problem or ask question.

MBS FileMaker blog