Try OpenEdge Now
skip to main content
Developing BPM Applications with Developer Studio
Using dataslots : Creating user-defined dataslots : Dataslot properties : For a Map dataslot
For a Map dataslot
You can configure the properties of a Map dataslot in the respective sections (same sections as that for CHARACTER dataslot) of the Dataslots tab. For information on CHARACTER dataslot properties, see For a CHARACTER dataslot.
The only difference is in the Initial Value section, where you can specify the initial value of the dataslot as described below.
To add a name/value pair to the table:
1. To add name/value pairs as choices in a multi-select list, click Add to open the Add dialog box, in which you can define your name/value pair.
The Name of the option you enter will be displayed as its label. The Value you enter can be “true” or “false”. If “true”, it is selected by default when displayed; if “false”, it is not selected.
2. Click OK to add the defined name/value pair to the Initial Value table.
You can also change the options displayed for a Map dataslot or provide localized values for the options. The name “coke” will be displayed as an option when the application is published on the Business Process Portal. To specify another drink in the case of a different locale or context, say "soft drink" and manually edit the properties file in the properties folder under the application by adding coke=soft drink as the Value.