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

Levels of Support:      Full Support      Partial Support      No Support

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