Sort Feature Set Activity

Description

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

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 host application. See Underlying Technologies for information.

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 host application. See Underlying Technologies for information.

Properties

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

Supported Environments

Environments capable of running this activity

Server

 

Client

Geocortex Web

Geocortex Mobile

Geocortex Viewer for HTML5

Web AppBuilder

Offline Support

This activity works when the device is offline.

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.15