Organize the Layout with a Set of Tabs
-
Add a
Tabs visualization on the page.
The visualization is added with a first tab created and active by
default.
- From Display type, define the display type of the visualization between Card and No card.
The Card type applies the Cards configuration defined for the applied page theme in the menu.
-
Configure the first tab.
-
In Title, specify the tab title.
To localize the title in other languages, you can select a translation key. You
define keys and translation values in the
Translation menu.
-
In Tooltip, specify the tab tooltip to display on hover.
It is useful to give a quick description of the tab content or usage.
To localize the tooltip in other languages, you can select a translation key.
You define keys and translation values in the
Translation menu. Note:
You can also add a tab displaying an
Icon only (without Title) and
display the title or another label using the Tooltip
field.
- Optional:
In Icon, select the icon that represents the tab.
-
In Container, specify the tab container:
Canvas, Column Layout or
Row Layout
-
Add visualizations in the active Container.
-
Add and configure other tabs .
Result:

Note:
You can:
- Reorder the list of tabs.
- Clear the Show rectangular tabs option if you want the tabs
to be underlined, and not in rectangles.
Add Conditions to Open the Page on a Specific Tab Dynamically
You can add one or several conditions to open a specific tab dynamically at page
loading, if one of the conditions is true.
Notes:
- If the first rule is true, the second rule is not evaluated.
- The first tab displays if all rules are false.
- Once you have navigated through tabs, the tab that opens by default is the last tab
you selected.
-
Select a tab, and for Default tab display conditions click
to add a new condition.
-
For Select item to compare, select the variable that stores
the condition value. For example, select a variable called tab
with an Initial value set to 1.
-
For Comparator, select the condition comparator. For example,
select matches if you want the condition to match the condition
Value.
-
For Value, specify the numerical value of the condition. For
example, 1.
Result: In the example, the variable initial value
1
matches the condition value 1, so the tab is
visible by default at page loading.
Add Display Conditions to Show a Tab
You can add display conditions to show or hide a tab in the
Tabs visualization.
If the conditions do not match, Data Perspective Studio:
- Greys out the tab in
Edit mode.
- Hides the tab in
Preview or
View mode.
-
Select a tab, and for Tab display conditions click
to add a new condition.
-
For Select item to compare, choose one of the following:
-
Variable value, to select the variable that stores the
condition values. For example, select a variable called myvar
with an Initial value set to 5.
-
User roles, to verify if the user has the role defined in Value.
-
For Comparator, select the condition comparator.
- If you selected
Variable value, you can choose between several operators. For
example, select <= if you want the condition to apply only
if the field value is lower or equal to the condition value.
- If you selected
User roles, you can choose between
contains or does not contain.
-
For Value, specify the condition value.
- If you selected
Variable value, select a numerical value. For example,
6.
- If you selected
User roles, enter a role trigram. For example, AEP for Data Viewer
(AEP).
Result: For the
Variable value example, the variable initial value
5 is <= to the condition value
6, so the tab is visible. For the
User roles example, the tab is visible to the users who have the
Data Viewer
(AEP)
role.
Add a Condition to Show the Visualization
You can add conditions to show or hide visualizations. This is useful to choose
whether to reveal or hide information, depending on a variable value or a user role.
You can also add conditions on home page
buttons, menu sections, and subsections.
Note:
If you add several conditions on the same visual element, Data Perspective Studio interprets them implicitly with OR operators (for example,
condition1 or condition2).
-
In the Properties panel, go to Display.
-
In the Conditional display section, click to add a Condition.
-
For Select item to compare, choose one of the following
options on the right of the field:
| Option | Description |
|---|
| Variable
value |
Use this option to select the variable that stores the condition values. For
example, select a variable called myvar with an
Initial value set to 5.
The supported types of variables are:
-
String
-
Integer
-
Float
-
Boolean
-
List for any of the above types.
|
| User roles |
Use this option to verify that the user has the role defined in Value.
|
-
For Comparator, select the condition comparator.
- If you selected
Variable value, you can choose between several operators. For
example, select <= if you want the condition to apply only
if the field value is lower or equal to the condition value.
- If you selected
User roles, you can choose between
contains or does not contain.
-
For Value, specify the condition value.
- If you selected
Variable value, specify a value corresponding to the variable
type.
For example, if the variable initial value 5 is
<= to the condition value 6,
the visualization is visible.

- If you selected
User roles, enter a role trigram.
For example, if the user roles contain AEP (trigram for the Data Viewer
(AEP)
role), the Data Perspective is visible to all users having the Data Viewer
(AEP)
role.
Override the Applied Theme with a Specific Style
You can override the theme applied to all Data Workspace pages and visualizations with a specific style defining different display
settings.
Before you begin: You have defined a style in .
- In the Properties panel, go to Style.
- Select the style to apply to the visualization.
|