Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

Introduction

The background colour of a Card in a Card Container can be dynamically set a Formatting Rule. 

Configuration

  1. Create the Shared Style you wish to apply to your card. This can be amended later if required. 
  2. Open the Properties of the Card within the Card Container.
  3. In the Styles tab
  4. Add a Formatting Rule
    1. Style: Set this to be the Shared Style created in Step 1.
    2. Rule Expression: stipulate the condition that must be true for the Shared Style to be applied.
      1. use _current to access the values on your Card e.g. _current.Role. 
      2. For example, _current.Role == "Design Engineer". This will apply the style where the Role field on the card is Design Engineer.
  5. You will need to close and reopen the screen containing the card in order for the Formatting Rule to be applied.
  6. Note, only responsive functions are supported in the Rule Expression, see Responsive Function section on Functions
  • No labels