Add Item Activity

Description

The Add Item activity adds an item to a collection.

Usage

You may need to keep many items stored somewhere. You could use the Create Value activity to create an empty collection and then use the Add Item activity to add an item to the collection.

Offline Support

This activity works when the device is offline.

Inputs

Collection

Required

Type: any[]

The collection to add the item to.

Item

Required

Type: any

The item to add to the collection.

Index

Optional

Type: Number

The zero-based index at which the item should be inserted.

If not specified the item is added at the end of the collection.

Outputs

This activity has no outputs.

Properties

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

Version Information

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

See Also...

Example - Loop until the User Says to Stop

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.10