Settings
AddonsCommon features of the design schemaContextual variables

Contextual variables

As a property value, you can assign the value of a variable that is available in the current context. In the case of cards, the model that is available as a variable is the one that returns the call to the dashboard search.

You can access the variables using the braces {}.

Example

{
  "type": "TextBlock",
  "text": "{base.siteTitle}",
  "onClick": {
    "type": "OpenUrl",
    "url": "{base.urls.siteUrl}"
  }
}