Sort Feature Set Activity

Description

The Sort Feature Set activity sorts the features in a Feature Set based on a specified attribute.

Offline Support

This activity works when the device is offline.

Inputs

Features

Required

Type: esri.Graphic (3.x, 4.x)* | esri.FeatureSet (3.x, 4.x)* | esri.Graphic[] (3.x, 4.x)*

The feature set to sort.

Sort Attribute

Required

Type: String

The case-sensitive name of the attribute to sort on.

Ascending

Optional

Type: Boolean

Whether or not to sort in ascending order.

If set to false, the feature set will be sorted in descending order.

The default is true.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of application. Web AppBuilder 2D apps and Geocortex HTML5 viewers use version 3.x of the JavaScript API. Web AppBuilder 3D apps use version 4.x.

Outputs

features

Type: esri.Graphic[] (3.x, 4.x)*

The sorted features held within the feature set.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of application. Web AppBuilder 2D apps and Geocortex HTML5 viewers use version 3.x of the JavaScript API. Web AppBuilder 3D apps use version 4.x.

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.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.12