Skip to content

Display Format

Imagine you have a very complex structure of conditions based on Components. It should look something like this:

Screenshot

You can easily change the way how your components are displayed without making any changes in the logic.

Screenshot

  1. Open Template, which displays the view you want to change.
  2. Select Custom display format
  3. Display format becomes available for editing
  4. Use the following code to customize the display:
Name Description
{template.displayName} Display Name of the component will be placed instead
{< Parameter Name >} Place a Parameter Name into the brackets {} and it will be replaced with the parameter's actual value
any string Any other information is left without any changes. You can use strings, numbers, or any symbols
{icon(<shape>, <text>, <color>)} Shows icon. For <shape> you can use on of the available shapes: circle, square, capsule, and rect. For example {icon(circle, &&, #666666)}.
{\n} Could be used to move items to the next line. Useful if you have a lot of components params, which need to show inside the table.