Skip to content

Data app templates

A template is a frozen copy of a data app’s structure: its tabs, widgets, filters, and parameters. It helps recreate the same app on different data, for example for a new client or a new site.

A template keeps:

  • the app’s tabs;
  • the dashboard widgets;
  • the filters;
  • the parameters.

It never keeps: data rows, conversations, automations, shares and access, Predict models, row and column restrictions.

From the Applications page (the list of your data apps), click the Templates button, next to Add a data app. You reach the Templates page, which lists your organization’s templates as cards (name, description).

Empty Templates page, with the message inviting to create a template from an app

While no template exists, the page displays: “No templates yet. From an app, menu ⋮, “Make this app a template”.”

Each card offers:

ElementEffect
UseCreates a data app from this template (see Start from a template).
Eye icon (Preview)Opens a preview dialog with two tabs: Preview, which shows the template with dummy data, and YAML, its technical definition. A banner reminds that the preview uses dummy data.
Menu ⋮See below.

The ⋮ menu of a card offers:

EntryEffect
EditChanges the template name and description.
ExportDownloads the template definition in a file.
ReplaceRe-exports the original app to this same template, keeping its key.
DeleteDeletes the template, permanently. Apps already created from it are unaffected, and its key becomes free.

At the top of the page, Import a template lets you send a definition file (YAML or JSON) exported earlier, and give it a name and a key.

From any tab of a data app, open the ⋮ menu and click Make this app a template.

Make this app a template dialog, with the name, key, and what the template contains

The dialog displays, on the left:

  • Template name, pre-filled with the app’s title;
  • Template key, an identifier derived from the name, used to call it by API; you can modify it;
  • one card per dataset read by the app, with its columns and their types, and a modifiable title if the app reads several datasets.

On the right, “What the template contains” indicates the number of tabs, widgets, filters, parameters, and links between data, then what is not copied (the same list as above). A yellow box To check warns: “Queries and texts go as-is: check that they mention neither customer names, nor amounts, nor anything that should not be reused.” It also signals any widget filtering on a hard-coded value, which would stay identical in all apps created from the template. Followed by a preview of the template.

A filter set to Some widgets keeps this same targeting in the app created from the template: it continues to filter widgets that were themselves included in the template. Its Single choice setting and its default value are also kept. If a widget targeted by a filter is not part of the template, the To check box signals it, and the filter continues to apply to the other targeted widgets that remain; if none remain, the filter then applies to the entire dashboard, and the warning specifies this. A default value that no longer exists in the new app’s data behaves like any other missing default value for a single-choice filter.

Elements that cannot be exported are listed separately, with their reason:

  • a widget written in code;
  • a widget built from a Prepare recipe;
  • a chart with embedded data;
  • a widget or link that reads a table outside the app;
  • an element too large for the template definition.

The Save the template button validates creation. It stays disabled while the name is empty or the chosen key is already used.

In the Create a data app window (see Understand a data app), the Start from a template link opens your organization’s template list, with a search field and, for each, a Preview button.

Start from a template dialog, opened from the Applications page

By choosing a template (or clicking Use from its preview), a dialog opens with:

  • on the left, one field per data expected by the template (its columns and expected types, a dataset selector, and a green checkmark once the dataset is verified as compatible; otherwise a red message names the missing or different column), any parameters of the template, then App title, a description, and labels for the new app;
  • on the right, a live preview of the template.

Create the data app stays disabled while each data is not chosen and verified, and while no name is entered.

The created app keeps no link with the template: you can then modify it freely, without changing the template.