Select Features Activity

Description:

Selects features in the client application.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.NativeActivity
      Geocortex.Workflow.Activities.ExternalActivityBase
        Geocortex.Workflow.Activities.SelectFeatures

Function:

This activity is used to add a set of features to the named collection in a client. In the Silverlight Viewer (version 1.1 or above), this activity additionally adds a feature set to the Feature Set Manager for display.

In a Workflow:

A workflow could use a QueryTask to fetch some features, and then use SelectFeatures to display those features in the client.

Properties:

Name Description

In Arguments

Clear Collection First

Obsolete: Use the Combine Mode argument with Replace or Union instead.

If set to True, the target feature set collection is cleared before the feature set is added. Otherwise the feature set is left as it is.

Collection Name

If the name of a feature set is entered, the Feature Set features are added to the named feature set collection. If not, the default collection is used.

Combine Mode

How the specified features should be combined with the existing features in the target feature set collection. The default is Union.

Supported values:

  • Geocortex.Workflow.Activities.CombineMode.Union
  • Geocortex.Workflow.Activities.CombineMode.Replace
  • Geocortex.Workflow.Activities.CombineMode.Intersect
  • Geocortex.Workflow.Activities.CombineMode.Subtract

Description Format

The description of every feature in the feature set will be formatted based on this value.

FeatureSet

The feature set to display.

FeatureSet Display Name

The display name of this feature set. If not specified the display name will be inherited from the associated layer.

Icon URI

The URI of an icon to show along with the features in the feature set.

Label Format

The label of every feature in the feature set will be formatted based on this value.

Layer Id

The ID of the Geocortex feature set layer that this feature set is related to.

If no Map Service Id or Layer Id are supplied, the Combine Mode tasks Intersect and Subtract do not work as expected, and features in the collection cannot be removed. Selected features must correspond with a map service or layer in order to be compared to other feature sets or removed from a feature set.

Layer Name

The name of the Geocortex layer this feature set is related to. If a Layer Id is also supplied the Id will be preferred.

Long Description Format

The long description of every feature in the feature set will be formatted based on this value.

Map Service Id

The ID of the Geocortex map service that this feature is related to.

If no Map Service Id or Layer Id are supplied, the Combine Mode tasks Intersect and Subtract do not work as expected, and features in the collection cannot be removed. Selected features must correspond with a map service or layer in order to be compared to other feature sets or removed from a feature set.

Show Notification

Whether to show a message when updating an existing collection.

Show Pushpins

Whether to show pushpins with the features.

Misc

Display Name

SelectFeatures

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

External Id

An activity handler within a client can reference this particular activity using this external identifier.

Version Information:

Supported from: Geocortex Essentials 3.4, Geocortex Viewer for Silverlight 1.1, Geocortex Viewer for HTML5 1.0.