Publish Event Activity


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


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


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.

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9.

See also...

Geocortex Viewer for HTML5 Events