Dashboard Templates

Templates simplify the process of creating fully-featured websites using dashboards. In a multi-page website, there are often a few common elements that are used on every page, such as headers, footers, or navigation menus. Templates allow you to create a single dashboard with the common elements and a placeholder component for unique content. Connect any number of content dashboards with the template dashboard. When a user opens a content dashboard, its associated template dashboard with common elements is loaded first, and then the content dashboard is rendered into the placeholder component of the template.

Because template and content dashboards are merged into a single dashboard at runtime, all components of the Template Dashboard and Content Dashboard must have unique names.

Configure the Template Dashboard

First, create the template dashboard. In order to function as a template, there must be a Sub-Dashboard component with an empty Reference property and the Content property set to True. This Sub-Dashboard component acts as a placeholder for the content dashboards.

In the template dashboard, create the desired design around the sub-dashboard component, such as headers, footers, menus, and so on.

Specify Template for Content Dashboards

Create one or more content dashboards to be loaded into the template. In order to specify which template a content dashboard should be loaded into, specify the Context Path to the template dashboard in the Template property of the Dashboard Properties of the content dashboard.

Whenever the user loads the content dashboard, it will first load the template dashboard, and the selected content dashboard will be loaded into the sub-dashboard. This ensures that the content dashboard has the same repeating components as the other dashboards that use the same template.

Was this page helpful?