Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
nameInvalid file id - 12a11e45-52d3-4d6f-9b1c-4c0329427f0a

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
nameInvalid file id - c26042ea-0de1-47e6-ab6f-c171a95e4fa5

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
nameInvalid file id - 7e4b8ea2-41e0-420a-9b27-1e52873b8846

After the “New Setting List Item” entry was created its settings appear grouped like this in the “Example Settings List” SettingList view.

...