Note: we recognize no documentation exists on this yet — but we’ve got some “top men” working on it — and that does not mean what it did for Indiana Jones Soon, soon!
To specify the options for a picklist property, use the picklistEntries property.
{<br /> id : 'selecteddivs',<br /><b> type : 'picklist',<br /></b> label : 'Select message centers',<br /><b> picklistEntries: [<br /></b><b> { value: 'one', label: 'Message center One' },<br /></b><b> { value: 'two', label: 'Message center Two' },<br /></b><b> { value: 'three', label: 'Message center Three' }<br /></b><b> ]<br /></b>}
To do a Multi-picklist property, just change type from picklistto multipicklist. The selected values will be stored in a single attribute, comma-separated, e.g. selecteddivs=“one,two”