Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Dataslot management : Working with different types of dataslots : LIST dataslots
 

LIST dataslots

The LIST dataslot type is a feature that enables you to create a dataslot that contains a list of options. In other words, the LIST type of dataslot treats a collection of related data items as a single entity. For example, a LIST dataslot can be used to hold options for a CHARACTER dataslot where the options are dynamically determined by querying a database.
The main advantages of a LIST dataslot are:
*At runtime, the elements of a LIST dataslot can be accessed directly through basic actions to the provided adapters.
*If the LIST dataslot is mapped to a database table, then the values are read directly from database and no additional action is needed. In the case of the CHARACTER dataslots mapped to a database, concatenation of all the values coming from the table into one long string with separator characters is needed.