List Control

setListOptions

Set list options for a List control by its control name.
const options = { optionValue: “OptionLabel”, optionValue2: “OptionLabel2" };
appStudioWizard.setListOptions(listControlName, options);

setCollectionListOptions

Collection controls can have column that represents a list. Table, Worksheet, TreeTable, DashboardTable, DashboardWorksheet can have a column of type list. Following API sets list options for a collection control by passing its list column name.
const options = {optionValue: “OptionLabel”, optionValue2: “OptionLabel2"};

appStudioWizard.setCollectionListOptions(collectionControlName, columnName, options);

setCollectionChildListOptions

Set list options for nested table for a collection control by passing its list column name and relationship name.

const options = {optionValue: “OptionLabel”, optionValue2: “OptionLabel2"};

appStudioWizard.setCollectionChildListOptions(collectionControlName, relationshipName, columnName, options);