Difference between revisions of "Details Component: Display rules"
From Dreamtsoft Wiki
(→How To Create A Display Rule) |
(→How To Create A Display Rule) |
||
Line 16: | Line 16: | ||
Click on the add record button (+ sign), then a new slide-out will open: | Click on the add record button (+ sign), then a new slide-out will open: | ||
+ | |||
[[File:DisplayRules 4.png|thumb|center|Adding a new display rule slide-out]] | [[File:DisplayRules 4.png|thumb|center|Adding a new display rule slide-out]] | ||
+ | |||
+ | Enabling a display rule will default to '''A Display Rule: Always'''. Switching it to '''any other slot''' will present a '''conditions input'''. | ||
+ | <br> | ||
+ | As an example, I am only going to show the impact level if it is not low impact: | ||
+ | [[File:DisplayRules 5.png|thumb|center|Will not display 'Impact' if it is 'Low']] | ||
+ | To build on this condition, click the + sign on the right side of the condition: | ||
+ | [[File:DisplayRules 6 new.png|thumb|center|Hide slot 'Impact' if 'Impact' is 'Low' and if 'Title' contains 'test']] |
Revision as of 22:24, 20 August 2021
What Are Display Rules?
- Display rules allow you to conditionally hide, read, and require slots on a details component.
How To Create A Display Rule
First, go to the page or record you have a details component attached.
Then click the Customize Page button at the bottom of your bundles navigation side-bar.
Select details from the list, then select the Edit page attributes button:
A slide-out Edit Details will appear. Here you can see the existing display rules and add new display rules.
Click on the add record button (+ sign), then a new slide-out will open:
Enabling a display rule will default to A Display Rule: Always. Switching it to any other slot will present a conditions input.
As an example, I am only going to show the impact level if it is not low impact:
To build on this condition, click the + sign on the right side of the condition: