Adding commands
Commands allow users to create work records from the feature layers in the map. Commands are displayed in the dialog box that opens when you tap a map marker in the mobile app.
Each layer can have a child node that defines commands for the features in that layer. To add a command, add a child node to the node for the selected layer. Add these attributes:
- id: Specify an identification code for the command.
- text: Specify the display text of the command.
- type: Specify the type of command.
These types of commands are supported for address layers:
- CreateAddressCase
- CreateAddressServiceRequest
- CreateAddressWorkOrder
These types of commands are supported for asset layers:
- CreateAssetCase
- CreateAssetInspection
- CreateAssetServiceRequest
- CreateAssetWorkOrder
- OpenAssetViewer
- UseThisAsset
These types of commands are supported for parcel layers:
- CreateParcelCase
- CreateParcelServiceRequest
- CreateParcelWorkOrder
These types of commands are supported for property layers:
- CreatePropertyCase
- CreatePropertyServiceRequest