Publish Event Activity

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.

Supported Environments

Environments capable of running this activity

Server

 

Client

Web

Mobile

Experience Builder

Web AppBuilder

Geocortex Viewer for HTML5

Levels of Support:      Full Support      Partial Support      No Support

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