Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Publish Event Activity

Prev Top Next More

Description

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.

Inputs

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.

 

Outputs

This activity has no outputs.

Properties

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

© 2024 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.42 (220a4365)