Run External Command Activity ![](../../Resources/Images/wf/ActivityIcons/wf_icon_RunExternalCommand.png)
Description:
Runs a command on the client. The command must exist/be implemented by the client application.
Inheritance Hierarchy:
System.Object
System.Activities.Activity
System.Activities.NativeActivity
Geocortex.Workflow.Activities.ExternalActivityBase
Geocortex.Workflow.Activities.RunExternalCommand
Function:
This activity executes a specified command in the client application.
In a Workflow:
The Silverlight Viewer contains a command called PanToPoint
that accepts an ESRI.ArcGIS.Client.Geometry.Geometry object as its parameter. To invoke this command from within a workflow, you could use the RunExternalCommand
activity and specify PanToPoint
as the Command Name and your geometry object as the Command Parameter.
The command you wish to invoke must be implemented in the target client application. Not all client application commands can be called from a workflow.
For complete lists of supported commands and their parameters, see the Geocortex SDK for HTML5 or the Geocortex Viewer for Silverlight Administrator and Developer Guide.
Properties:
Name | Description |
---|---|
In Arguments |
|
Command Name |
The name of the external command to run. |
Command Parameter |
The parameter being passed to the command. Note that not all commands require a parameter. |
Misc |
|
Display Name |
RunExternalCommand You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain. |
External Id |
An activity handler within a client can reference this particular activity using this external identifier. |
Version Information:
Supported from: Geocortex Essentials 3.3, Geocortex Viewer for Silverlight 1.1, Geocortex Viewer for HTML5 1.0.