Layout widgets are used to organize and structure the layout of an Object View page within a certain tab, by arranging the view into different containers.
Each Object View can have three levels of Layout control:
These are the types of Layout containers:
This widget enables you to organize the layout of your Object View visually by displaying widgets distributed horizontally within a container, one next to the other. It is just a container of other widgets, and has no other functionality by itself.
Once you add the Horizontal Distribution widget, the configuration enables you to add different widgets within this container, by clicking on “Add Item”, which would open up the widget selector.
There are two options to determine how much width would be allocated to each widget within the container:
Common Issues and Notes:
This widget enables you to organize the layout of your Object View visually by displaying widgets distributed vertically within a container, stacked one on top of the other. It is just a container of other widgets, and has no stand-alone functionality by itself.
Once you add the Vertical Stack Container widget, the configuration enables you to add different widgets within this container, by clicking on “Add Item”, which would open up the widget selector.
Common Issues and Notes:
Add another layer of tabs to your Object View, by creating a container of tabs within the current tab. Users can browse between these tabs, each one containing a single widget (which can also be a container of a number of widgets).
The Tabbed Container is just a container of other widgets, and has no stand-alone functionality by itself.
Common Issues and Notes:
A conditional container enables content to be displayed or hidden according to a condition. This condition can be based on:
This widget supports adding one or several conditional sections. Each one of these sections includes a condition and one or more widgets that are conditionally displayed according to that condition. To set up a conditional section, you follow these three steps:
Step 1 – Set the condition
The first step is to define the condition according to which the contents of the container should be displayed or hidden. There are three different types of conditions:
Condition 1 – Filters
The Filters condition displays or hides the contents of the container based on whether or not filters are applied to the Object View. This condition can be configured in three different ways:
Condition 2 – Properties
The Properties condition displays or hides the content of the container based on the value of a property of an object. The object in question can either be the current object in view or a linked object. In the case of a linked object, the relationship to the current object needs to be either 1-to-1 or many-to-1, in which case the current object needs to be on the "many" side of the relationship.
To use this condition type, you first select the property you want to use. Next, you define when the contents of the conditional container should be shown based on that property. There are four options for this:
null
.null
.For is one of and is not one of, the values you define are translated to match the property type (if it’s integer, double, date or boolean). See below for more details on how this property comparison is done.
Condition 3 – Linked Objects
The Linked Objects condition displays or hides the contents of the container based on the existence of linked objects of a certain type. To set up this condition, you first select a link path. Then, you decide if the contents of the conditional container should be shown if linked objects of the selected path exist or do not exist.
The logic of this condition can be reasoned about by comparing it to a Linked Objects View. The contents of a container with this condition should only be shown if a Linked Objects View with the same link path would show at least one object (if linked objects should exist), or no objects (if linked objects should not exist).
Step 2 – Add Widgets
Once a condition has been defined, the second step is to configure the actual content to be displayed within the container. Click on the “Add Section” button and add as many widgets as needed. Note that you can order the widgets displayed within the Conditional Container by using the up/down arrows.
Step 3 – Choose a Layout
Finally, the third and final step is to choose the layout of the container. The layout can be either:
After completing these three steps, your Conditional Container should be set up and good to go!
Common Issues and Notes:
This widget enables adding rich text as a part of an Object View layout. It provides a plain text editor, based on the Markdown lightweight rich text formatting syntax (markdown-it
library). As an addition, this widget allows templating of object properties values as part of the text.
markdown-it
library.Additional configurations:
\n
as a line-break (requires the "Enable line breaks" to be on).Common Issues and Notes: