Object To DataItem Activity


Create a DataItem object from an arbitrary object.

Inheritance Hierarchy:



This activity allows a DataItem to be created from an arbitrary object. DataItems can be used as input for certain Form elements such as ComboBox items (as a collection of DataItems).

In a Workflow:

You would use this activity to create a DataItem from another type of object. A DataItem is a simple object that can hold the display text and backing value of an item in a list.


Name Description

In Arguments


The object to convert to a DataItem.


Display Name


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.

Display Property

The name of the property of the Object that will contain the Display data. The DisplayProperty of the Object should be of type string.

Value Property

The name of the property of the object that will contain the Value data. The ValueProperty of the Object can be of any type, but should be Data Contract Serializable if you intend to send the output DataItem to the client.

Out Arguments


The new DataItem that is a composite of the DisplayProperty and ValueProperty property values of the Object.

Version Information:

Supported from: Geocortex Essentials 3.4.