- 20 Jan 2025
- 1 Minute to read
- Print
Global CX Attributes
- Updated on 20 Jan 2025
- 1 Minute to read
- Print
The Dise One CX Provider will add the set of global variables as Attributes.
Names are plain text.
Ids are Base-64 encoded Dise Unique Ids and therefore case-sensitive.
CountryCode is a two letter abbreviation of the country.
SiteAddress is a address of the site as a string.
SiteLatitude/Longitude is the GPS position of the site in decimal-degrees.
Tags is a JSON serialized array with all tags on or inherited by the display.
Custom fields are values set on the display with their respective JSON data.
Custom settings are key/value combination set on the player.
Weather.* are Conditional Attributes with active set to the current state.
trigger.* are Conditional Attributes for triggers used by scenario. Can be modified by template to control scenarios. The second part of the name is the name of the trigger set in the portal and the label contains the unique Id.
These Attributes are exposed on all players and updated on each sync with the server:
static.dise.BrandId
static.dise.BrandName
static.dise.CountryCode
static.dise.CountryId
static.dise.CountryName
static.dise.DisplayId
static.dise.DisplayName
static.dise.RegionId
static.dise.RegionName
static.dise.SiteAddress
static.dise.SiteId
static.dise.SiteLatitude
static.dise.SiteLongitude
static.dise.SiteName
static.dise.WorldRegionId
static.dise.WorldRegionName
static.dise.ZoneId
static.dise.ZoneName
static.dise.Tags
static.dise.CustomField.custom_field_name
static.dise.CustomSetting.custom_setting_name
static.dise.weather.<condition_id>
trigger.Trigger1…
The Samples/CXGlobal template includes code and example-data for all these Attributes (see MockData/Attributes.json).