Actr_GetEventInfo (function reference)

Activator Plug-in > Functions reference > Actr_GetEventInfo
Activator Plug-in for FileMaker Pro


This function will return information that was previously associated with the event, like yourID and yourText.

SyntaxFunction badge

Actr_GetEventInfo ( switches ; eventID )


switchesdetermines which information is to be returned
eventID(optional) the event to retrieve info from


switches must contain only one of this:

-GetYourIDretrieves the yourID data
-GetYourTextretrieves the yourText data
-GetActivatorEventIDretrieves the internal EventID
-GetAllEventsListretrieves a tab separated list of all the events and the data of each event
-GetAllEventIDsretrieves a list of all the eventIDs separated by returns
-GetImageget the uploaded image (for the Upload Server functionality)
-GetLocationDataget the (GPS) location (for the Upload Server functionality)

and also switches must contain one of this:

-LastTriggeredretrieves the information from the event that was triggered last
-ByEventIDretrieves the information from the event with the eventID in the next parameter
-FirstSilentEventretrieves the information from the first silent event

optionally switches can also contain this:

-DeleteThisEvent(optional) delete the event after the data is returned

Returned Result

Data type returned



The requested information.

Originated in

Activator Plug-in 1.2


FileMaker Pro 12 to 16


Set Field [ result ; Actr_GetEventInfo ( "-LastTriggered -GetYourID -DeleteThisEvent" ; ) ]

This command will return the YourID data for the last event triggered. The event data will be deleted.

Example 2

We assume that in your FileMaker file the following fields are defined:

gEventID  		Global, number
gEventText  		Global, text

gEventID contains the eventID. Add the following script step to your Trigger script:

Set Field [ gEventText ; Actr_GetEventInfo ( "-ByEventID -GetYourID" ; gEventID ) ]

This command will fill the field gEventText with the text that was supplied earlier, when the event was created.

Related functionFunction badge


Related topics

Activator Plug-in online help (overview)

Online Help Page for Activator Plug-in for 12 to 16 –> Actr_GetEventInfo (actrp4612) 2017-0822 13:07:38