Get Item At Index Activity

Description

The Get Item At Index activity gets the item at the specified index from a collection.

Usage

You may need to store many items in a collection. You could use the Get Item at Index activity to get an item in the collection at a specific index. Collections begin their indexing at 0. If a collection has 3 items the collection will have indices 0, 1 and 2.

Inputs

Items

Required

Type: any[]

The collection to get the item from.

Index

Required

Type: Number

The zero-based index of the item to get.

Outputs

item

Type: any

The item.

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.