Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Add Item Activity

Prev Top Next More

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.

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.

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.

See also...

Example - Loop until the User Says to Stop

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