Lists
Lists configurations are individual json files that define attribute
valid values used by the Attributes slide-out panel. All list configuration
files are stored in the lists
folder. This is
best illustrated with the languages.json
as an
example:
[ { "value": "en", "label": "English" }, { "value": "es", "label": "Spanish" }, { "value": "fr", "label": "French" } ]
The list consists of repeating name and value pairs for each list item.
-
value
. Value stored in the XML attribute. -
name
. Text displayed to the user.