...
Code Block |
---|
{ "manifest": { "statuses": [ { "id": "string_status_1", "type": "String", "display": "Example String Status", "default": "a default value", "order": 0 }, { "id": "string_status_2", "type": "String", "display": "Example String Status with a URL value", "default": "https://gumband.com/", "order": 1 } ], "controls": [], "settings": [] } } |
...
Exhibit Control Types
Single
This control type creates a single button in the UI.
...
Clicking on the input box opens a larger edit modal.
View file | ||
---|---|---|
|
The value of the setting is sent to the sdk as an html-formatted string.
...
Something to be aware of is that the timezone is determined by the Gumband User’s local time when the setting is saved. When accessing Gumband from another timezone, the setting value on the over view page will show the timezone determined by the last time the setting was saved, but the Setting Value on the “Settings” tab will show the value translated to the users local time. However, there’s a planned feature to allow developers to set the timezone for the exhibit.
View file | ||
---|---|---|
|
SettingsGroup
This setting type allows developers to organize any of the above setting types into groups of settings. This type by itself is not a setting, just defining the parent of the nested settings within it. It’s Similar to the Group
control type. However, instead of "items", this type expects a schema JSON property to define the contained settings.
...
Click the “Create New” button to add a new entry of the settings schema. Each entry can have a unique name.
View file | ||
---|---|---|
|
After the “New Setting List Item” entry was created its settings appear grouped like this in the “Example Settings List” SettingList view.
...