Run Command Activity


The Run Command activity executes a command in a Geocortex viewer application like the Geocortex Viewer for HTML5.

Depending on the command specified, a parameter may also be required.

Commands may perform asynchronous operations, but the Run Command activity will always complete immediately.

To see a complete list of Geocortex Viewer for HTML5 commands and the parameters they take, see Geocortex Viewer for HTML5 Commands.


Command Name


Type: String

The name of the command to invoke.

See Geocortex Viewer for HTML5 Commands for a complete list of Geocortex Viewer for HTML5 commands and their parameters.

Command Parameter


Type: any

The parameter to pass to the command.


This activity has no outputs.


For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Supported Environments

Environments capable of running this activity




Geocortex Web

Geocortex Mobile

Geocortex Viewer for HTML5

Web AppBuilder

Offline Support

This activity works when the device is offline.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9.

See Also...

Geocortex Viewer for HTML5 Commands

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.15