Set Current Form Element Item Activity


The Set Current Form Element Item activity changes the selection in the specified form element.




Type: String

The form element bearing the items, specified as an expression or ID. For example, =$form1.state.itemPicker1 or itemPicker1. Leave Element blank to target the form element that the subworkflow belongs to.

Match Type


Type: String

The technique used to find a matching item.

  • index: Find an item based on its position in the list.
  • item: Find an item by looking up the actual item itself.
  • key: Find an item based on its key. (This is typically a String representation of the index.)
  • label: Find an item based on its caption.
  • value: Find an item based on its value.



Type: any

The value to use when finding the item to select.

The value required varies depending on the specified Match Type input.

  • index: The value must be a Number.
  • item: The value must be an object of type Item.
  • key: The value must be a String.
  • label: The value must be String or MarkdownRef.
  • value: The value must be the same type as the value of the items in the element.



Type: Boolean

True if a match was found, false otherwise.

If no match is found, the element is not changed.


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, Web AppBuilder for ArcGIS 2.4.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.15