Try OpenEdge Now
skip to main content
User's Guide
Using dataslots : Creating user-defined dataslots : Defining the dataslot format
 

Defining the dataslot format

You can use the Default Format section of the Dataslots tab to set properties such as the presentation format and the label of the dataslot in Business Process Portal, validation (if required). You can also specify whether the dataslot is editable and required.
Note: The Default Format tab is not available for the Business Object dataslot.
Table 29 lists the format properties, their descriptions, and the dataslot types for which they are available.
Table 29. Default Format for Dataslots
Element
Description
Supported Dataslot Types
Type
Determines how the dataslot should be presented in the interface page.
*As a text box, text area, or combo box for a CHARACTER dataslot.
*Additionally, as a radio button, checkbox and label for CHARACTER dataslot in case of web applications.
*“Date and Time” or “Date Only” for DATETIME-TZ dataslot.
Label
Defines the label of the dataslot in the interface.
For all dataslots.
Editable
Specifies whether the dataslot is editable or read-only in the interface page. The Editable check box is selected, by default.
For all dataslots.
Required
Specifies whether the dataslot is mandatory or not.
Not available for LOGICAL dataslot.
Validation
Configures validation settings.
Available only for CHARACTER, INTEGER, INT64, and DATETIME-TZ dataslots. For more information, see Specifying validation at the dataslot level.
You can modify the format of a dataslot at the workstep level, allowing each workstep in a process to have a different format. For example, you can set the format of a dataslot as a combo box with the label “Please enter a choice” in one workstep; and as a text box with the label “You selected:” in the next workstep. To modify the format of a dataslot at the workstep level, see the Dataslot Properties section for the workstep type; for instance, for an Activity workstep, see Defining properties of Activity worksteps.
* Presentation formats for the CHARACTER dataslot
* Specifying validation at the dataslot level