Reference
Hide options
Remove controls from the embed with one hide attribute, and what each old flag maps to.
Set hide on <dbn-dashboard> or <dbn-metric> to remove controls without CSS. It requires the plugin release listed in Changelog and versioning.
<dbn-dashboard
token="GUEST_TOKEN"
dashboard-id="DASHBOARD_ID"
hide='{ "search": true, "download": true, "datePresets": ["Life Time"] }'
></dbn-dashboard>

12 keys.
| Key | Value | Hides | On | Old flag (still works) | When to use |
|---|---|---|---|---|---|
search | true | The search box in every filter menu, the date preset menu included | both | global | Your viewers do not need search, for example in a short date preset menu. |
chartSettings | true | Chart settings in the card menu | both | isHideChartSettings | Viewers must not change how a chart looks. |
tablePreview | true | Table preview under the chart | both | isHideTablePreview | The chart should stand alone, with no table under it. |
download | true | All download controls, including dashboard ZIP and PDF, card and full-screen downloads, and underlying-data exports | both | disableDownloadPng; forces enableDownloadCsv, enableEmailCsv, enableDownloadAllMetrics, enableDownloadAllPdf off | You want viewers to use the embed without download controls. |
fullScreen | true | Full screen entry and title click full screen | both | disableFullscreen; forces enableTitleClickFullscreen off | Your page already gives the card the room it needs. |
customizeLayout | true | The viewer’s own layout edit (move, resize, save a personal layout) | <dbn-dashboard> | options.disableLayoutCustomization | Every viewer must see the same layout. Search term: “personalise”. |
manageMetrics | true | The “Manage Metrics” button | <dbn-dashboard> | options.disableManageMetrics | Viewers must not add or remove cards for themselves. |
underlyingData | true | View underlying data | both | disableUnderlyingData (options.disableUnderlyingData on the dashboard) | Viewers must not open the rows behind a chart. |
dashboardName | true | The dashboard name | <dbn-dashboard> | options.hideDashboardName | Your page already shows the name. |
cardTitle | true | The card title | <dbn-metric> | isDisableCardTitle | Your page already shows the title. |
filters | a list of names (string[]) | Named dashboard filter controls | <dbn-dashboard> | hideDashboardFilters | You want to hide controls and keep their saved defaults and selections. |
datePresets | a list of names (string[]) | Named presets in the date pickers, by label (any case) | both | hideDatePickerOptions | Some presets do not fit your data, for example “Life Time”. |
truehides. Leave a key out, or set it tofalse, and nothing changes.hideadds to the old flags. A control is hidden when the old flag or thehidekey hides it.falsenever shows a control an old flag hid.hidewins over everyenable*flag.downloadalso hides Download Metrics when the guest token grants ZIP access. Underlying data remains available to viewers with access.searchalso removes the search box in the date filter’s preset menu.filtershides the named controls, including filters placed on cards. Queries still use saved defaults, values fromglobal-filter-options, and restored selections. Use the filter label or its displayed name. KeephideDashboardFiltersto remove a filter and its default. See Set filter defaults.- These settings control what viewers see. Guest token permissions still govern server access.
- A key that is not on the list, or a value of the wrong type, is left out with one console warning.
Old flags
Each old flag keeps working. Prefer hide: one object, the same on both elements. Move from internal class names to parts maps each old flag to its hide key.