A collectionItem element contains either a disabled button, or the fields of a custom object. An array of collectionItem elements creates a Collection Display.
Element Structure
The following example shows the collectionItem structure for a simple collection:
"collectionItem" : { "buttonLabel" : "Collection Item 1" } |
The following example shows the collectionItem structure for an object collection:
"collectionItem" : { "FN" : "John", "LN" : "Smith", "ID" : "12345678" } |
The sub-elements of the collectionItem element are listed in the table below. Either a simple collection or and object collection will appear, according to the structure of the displayStyleEnum element.
|