The Dashboard Templates admin page (Documentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/settings/dashboard-templates) lets administrators manage the full library of dashboard layout templates available to users in their organisation, including organisation-owned templates and read-only system templates.
Overview
The page requirespf.dashboard.admin permission, enforced by an inner RequirePermission guard that shows a ShieldAlert fallback on denial. The page is split into two DataTable sections: Organisation Templates (type org, fully editable) and System Templates (type system, clone-only). Organisation templates support edit, share, duplicate, and delete actions. System templates can only be cloned into the organisation’s template library. The template editor dialog (TemplateEditorDialog) handles both create and update flows; a share dialog (DashboardShareDialog) manages sharing options for a selected template.
Who it’s for
Requires permissionpf.dashboard.admin.
Before you start
- You must hold
pf.dashboard.adminto reach this page; non-admins see an access-denied message. - An organisation must be active; the page renders a loading skeleton until
currentOrganizationis available.
Steps
Open Dashboard Templates
Navigate to
/settings/dashboard-templates. The page lists organisation templates at the top and system templates below.Create a new template
Click Create Template in the top-right corner. The
TemplateEditorDialog opens with empty fields.Edit an organisation template
In the Organisation Templates table, open the row action menu and choose Edit. The editor pre-fills with the template’s existing configuration.
Duplicate a template
Choose Duplicate from a row’s action menu. A copy is created with the name suffix “(Copy)” and type
org.Share a template
Choose Share from the action menu to open
DashboardShareDialog for the selected template.Delete a template
Choose Delete from the action menu and confirm the dialog. Users who previously applied the template retain their current dashboard layout.
Key concepts
Template types
Template types
org templates are owned and editable by the current organisation. system templates are platform-provided and read-only; they can only be cloned.Target roles
Target roles
When a template has no
target_roles, it is shown as “All” and is available to all users. Role badges show the configured roles.Usage count
Usage count
The Usage column shows how many times the template has been applied by users in the organisation.
Related
Platform Foundation
Platform Foundation overview.
Governance & parity
Documentation coverage and governance.
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/platform.tsx
- src/platform/dashboard/pages/DashboardTemplatesAdmin.tsx
- src/platform/dashboard/hooks/useDashboardTemplates.ts