The Publish Event activity publishes a named event in a Geocortex viewer application like theGeocortex Viewer for HTML5.
Events provide a mechanism for one part of an application to notify other parts of the application that something has happened. Event publishers, like this activity, publish (or broadcast) that a specific event has occurred. The event has a name and optionally some data relevant to the event. Event subscribers are the parts of the application that subscribe to specific named events and then receive notifications when the event is published. Typically event subscribers will take some action in response to an event.
Publishing events may trigger asynchronous operations in the host application, but the Publish Event activity will always complete immediately.
To see a complete list of Geocortex Viewer for HTML5 events and the event arguments they take, see Geocortex Viewer for HTML5 Events.
Event Name |
Required Type: String The name of the event to publish. See Geocortex Viewer for HTML5 Events for a complete list of Geocortex Viewer for HTML5 events and their event arguments. |
Event Argument |
Optional Type: any The event argument data to publish. Depending on the event name specified an event argument may be required. |
This activity has no outputs.
For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.
This activity works when the device has intermittent connectivity to the network.
Supported from: Geocortex Viewer for HTML5 2.9.
See also...