DataTable To DataItem List Activity

Description:

Creates a list of DataItems from a DataTable using the specified columns.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.CodeActivity
      Geocortex.Workflow.Activities.DataTableToDataItemList

Function:

This activity allows you to construct an IList<DataItem> from a DataTable using the specified columns.

In a Workflow:

You would use this activity to transform a DataTable from a SQL Query activity into an IList<DataItem> so that it can be used to populate a combo box or the list input of a Display Form activity.

Properties:

Name Description

In Arguments

Display Column

The name of the column that contains the Display data.

DataTable

The input DataTable.

Value Column

The name of the column that contains the Value data.

Misc

Display Name

DataTableToDataItemList

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.

Sort

Whether to sort the resulting list of DataItems. If true, the display values must support sorting.

Out Arguments

DataItem List

The resulting list of DataItems.

Version Information:

Supported from: Geocortex Essentials 3.11.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 4.11