Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Set Current Form Element Item Activity

Prev Top Next More

Description

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

Usage

The Set Current Form Element Item activity can be used to select an item in form elements that allow only one item to be selected. These form elements include Drop Down List and Radio Group. The Set Current Form Element Item activity cannot be used to select an item in form elements that allow more than one item to be selected. These form elements include Check Group, Item Picker, and List Box.

Inputs

Element

Optional

Type: String | Element

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

Required

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.

Value

Required

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.

Outputs

result

Type: Boolean

True if a match was found, false otherwise.

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

Properties

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

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.

© 2024 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.42 (220a4365)