Designing templates#
The template designer is used to build portal dashboards: you create sections and pages, place published documents, texts and links on each page on a 12-column grid, and add filters, synchronization, drill down and hyperlinks. It is used by whoever prepares the portal for others.
Before you start#
- You need Portal administration.
- The documents you want to show must be in published workbooks (see Publishing a workbook). A page can only show published documents, not working workbooks.
- You can mix in a template documents from workbooks of different connections: each one is calculated with its own.
Create a template#
- On the portal home, click New template….
- Type its Name and click Create template. The name is unique in the whole installation.
- The designer opens with an empty section and page.
To change a template that already exists, click Design on its card on the portal home.
The designer#


| Area | What it contains |
|---|---|
| Header | The name of the template, Preview, Save and More template actions (the three dots). Below, “Design · version N” and the status: “Unsaved changes”, “Saving…” or “Saved at…”. |
| Structure (left) | The tree of the template: the Template node, the sections and their pages, with the number of blocks of each one. |
| Canvas (center) | The blocks of the chosen page, on the grid. With no page chosen, a summary of the template. |
| Properties (right) | The options of what is chosen: the template, the page or the block. |
The two side panels collapse with their button (Collapse the structure, Collapse the properties) and widen by dragging their edge.
Important
Changes are not saved automatically. Click Save when you finish. If you leave the designer with changes, you are asked “Leave without saving the template?”.
Sections and pages#
In the Structure:
- New section… (at the foot of the tree) creates a section at the root.
- The menu of a section (the three dots, or the right mouse button) offers New page, New subsection…, Up, Down, Rename… (F2) and Delete section… (Del), which also deletes its pages and subsections.
- The menu of a page offers Up, Down, Move to another section, Rename… (F2) and Delete page… (Del), which also deletes its blocks and its filters.
Choose a page to see its blocks on the canvas and its properties on the right:
| Property | What it does |
|---|---|
| Page title | The text of its tab. |
| Read privilege | Whoever does not have it does not see the page. Free: everyone who enters the template sees it. |
| Only by link | The page has no tab: you reach it with a link, a hyperlink or a drill down. In the tree it is shown as “(by link)”. |
| Comment | A note shown at the foot of the page in the portal. |
| Page filters | Master filters that only apply on this page (see below). |
If a page keeps a privilege that has been deleted or that you do not have, the list shows it as “A privilege that no longer exists or that you do not have”. To save the template, choose another.
Blocks#
To add a block to the chosen page, use the Add bar of the canvas:
- Document: a document from a published workbook. It is disabled if there is no published workbook you can see.
- Text: a title, a paragraph or a note. No HTML: you write plain text, which can carry values from a published cube (see Values in a text).
- Link: to another page of the template or to a web address.
- Indicator: a highlighted figure, the value of a metric of a published cube with the filters of the page (see Properties of an indicator).
Place and size the blocks#
The grid has 12 columns; each block states its width (“6/12”). Blocks are placed in order, from left to right and from top to bottom.
- With the mouse: drag the block by its handle to move it, its right edge to change its width and, in a document, its bottom edge to change its height.
- With the keyboard, with the block chosen: Alt+←/→ moves it, Shift+←/→ changes its width, Shift+↑/↓ its height (in steps of 50 px) and Del removes it.
- From the block menu: Move earlier, Move later, Wider, Narrower, Taller, Shorter and Remove block.
On a tablet and on a phone the grid rearranges itself (see Consulting a template). Bear that order in mind when you place the blocks: what comes first on the page comes first on the phone.
Properties of a document block#
| Property | What it does |
|---|---|
| Published workbook | The workbook the document comes from. When you change it, its first document is chosen and the drill downs are removed. |
| Document | The document the block shows. |
| Version | The latest, The previous one or up to five before the latest. It is useful, for example, to put the current month and the previous one side by side. |
| Title | Optional. Without a title, the block carries the name of the document. |
| Width | In columns of the 12-column grid. |
| Height (px) | Between 150 and 2,000. Empty: 420. |
| Synchronized with | The other documents of the page whose filters this block follows (see below). |
| Drill down | What happens when a value is clicked (see below). |
| Hyperlink | None or a page of the template. In the portal it is a button in the block header that takes you to that page without filtering anything. |
| Filters it ignores | The master filters of the page that are not applied to this block (see Filters a block ignores). |
Properties of an indicator#
An indicator shows the value of a metric of a published cube, calculated with the filters of the page: the total of its column, the same the cube would give with those filters. If the cube has a cell indicator on that column (a traffic light, an arrow, a range or a bar), the indicator shows it next to the value.
| Property | What it does |
|---|---|
| Published workbook | The workbook the cube comes from. |
| Cube | The published cube. Only cubes are offered. |
| Metric | The metric shown. If the cube does not have it, the indicator says “Not available”. |
| Compare with | Optional: another metric of the same cube. Below the value you see that metric, the difference and its percentage. |
| Version | As in a document block. |
| Title | Optional. Without a title, the indicator carries the name of the metric. |
| Filters it ignores | As in a document block. |
A reader who cannot see the metric, or a cube that no longer has it, sees “Not available”, without the name of what is missing. Without data with the chosen filters, the indicator says “No data”.
An indicator, and a value of a text, only read cubes: if the chosen document is published as something else (a chart, a map), the template is not saved and says so (“In “Resumen”, an indicator reads “…”, which is not a cube…”).
In a template embedded in another application, the indicators and the values of a text also follow the filters that application sets by dimension, like its documents.
Tip
A page with only indicators does not offer values in its filters: the values of a filter come from the documents of the page. Put on it the cube they come from, even if it is at the bottom and small.
Values in a text#
A text can carry figures that are calculated when the page is opened. In the properties of the text, in Text values, click Add value and fill in its Name, its Published workbook, its Cube and its Metric. Then write the name between braces in the text of the block: “Se han facturado {importe} en {facturas} facturas.” reads, for example, “Se han facturado 1.250.300,00 € en 3.412 facturas.”, with the filters of the page.
A text carries at most ten values. If the text names between braces something that is none of its values, the properties warn about it and in the portal it is shown as is.
Properties of a text and a link#
| Block | Property | What it does |
|---|---|---|
| Text | Style | Title, Paragraph or Note (with the information icon). |
| Text | Block text | What is read. |
| Link | Link text | What is clicked. |
| Link | Goes to | A web address or The page “…” of this template. |
| Link | Address | Only for a web address; it starts with http:// or https://. It opens in another tab. |
To remove any block, click Remove block at the foot of its properties.
Master filters#
There are two kinds of filters:
- the Global filters, in the properties of the template (choose the Template node of the tree): they are applied on all pages to the documents that have their dimension;
- the Page filters, in the properties of each page.
Click Add filter and fill in:
| Option | What it does |
|---|---|
| Name | The label of the filter in the portal bar. |
| Connection | The connection of its dimension. It only filters the documents of that connection. |
| Dimension | The dimension it filters by. |
| On entry | What is chosen when the page is opened: All, The first value or The last value. |
| Required (covers the documents until one is chosen) | The documents are not shown until the reader chooses a value. |
Remove a filter with the cross of its box.
Filters a block ignores#
A document or an indicator can ignore some filters of the page: in its properties, in Filters it ignores, check the ones that do not apply to it. The block is shown without them and does not offer its values in those filters. It is useful, for example, to put the figure of all the zones next to that of the chosen zone.
Filters that do not reach any block#
While you design, the canvas warns about the filters that filter nothing: “These filters do not reach any block…”, with Go to the page on page filters and “(global)” on global ones. A filter does not reach a block if the block ignores it, if it is from another connection or if its published document does not use its dimension. A global filter is only warned about if it does not reach any block on any page. The warning does not prevent saving.
Synchronization#
In the properties of a document, Synchronized with lists the other documents of the page. Check one: when the reader filters in that cube, this block will apply the same filters on the dimensions it has. It synchronizes with cubes.
Drill down#
A drill down turns the values of a dimension into links to another page:
- In the properties of a document, click Add drill down.
- In When clicking a value of, choose the source dimension.
- In Go to the page, choose the target page. It is usually an “only by link” page.
- In Filtering, choose the dimension filtered there with the clicked value (usually the same one).
A document can have several drill downs, but only one per source dimension. Remove one with Remove drill down.
Preview and save#
- Preview opens the template in the portal as readers will see it. It shows what is saved: save first to see your latest changes.
- Save checks the template. If something prevents saving it, the canvas shows “There are N problems that prevent saving”, each with Go to the page or Go to the block. For example: “A drill down of “Resumen” goes to a page that does not exist” or “The link “…” of “…” does not go to a page or an http(s) address”.
- If someone else has saved the template while you were editing it, the save is rejected with “La plantilla «…» la ha guardado otro usuario después de que usted la abriera: recárguela” (another user saved the template after you opened it: reload it). Reload the page and make your changes again.
Each save leaves a backup of what there was (see Template backups).
What no longer exists is marked in its list instead of changing by itself: “(not published or no access)” for a workbook, “A document that is no longer in the published workbook”, “A page that no longer exists”, “A dimension that is no longer available” or “A connection without published workbooks you can see”. On the canvas, the block says “Workbook not published or no access”.
More template actions#
| Action | What it does |
|---|---|
| Save as… | Creates a copy of the template with another name (Name of the copy, Save copy), with any unsaved changes it has. |
| Backups… | The backups of the template, to compare them and restore one. See Template backups. |
| Translations… | The texts of the template in the other languages, for those who read the portal in them. See Translating workbooks and templates. |
| Delete template… | Moves the template to the Trash, with its sections, its pages, its backups and the bookmarks of its pages, from where it can be restored. Published workbooks do not change. If another application uses it (an embedding), the confirmation says so first. |