---
title: DashboardPluginSettings System Parameter – Sandbox for HTML Widgets
description: The DashboardPluginSettings system parameter in Nodinite sets the iframe sandbox and Content Security Policy for HTML widgets on the Dashboard and in Monitor Views. Five switches; only AllowScripts is on by default.
---

# DashboardPluginSettings - System Parameter

:new7.4.0:

**DashboardPluginSettings** is a JSON [System Parameter][System Parameters]. It sets what HTML widgets may do in the :Nodinite: [Web Client][]: the [Custom Dashboard Items][] on the Dashboard, and the widgets in [Extending Monitor Views][]. The switches control whether scripts run, and whether a widget may load scripts, images, fonts, and stylesheets from other sites or call them.

## :fa-table: At a Glance {#at-a-glance}

| Property | Value |
| --- | --- |
| Key | `DashboardPluginSettings` |
| Data type | json |
| Default | `{"AllowScripts":true,"AllowInlineScripts":false,"AllowExternalScripts":false,"AllowExternalContent":false,"AllowExternalCalls":false}` |
| Read by | [Web Client][] |
| Applies to | Dashboard widgets and [Monitor View widgets][Monitor Views] |
| Takes effect | Within about 15 seconds; no restart needed |
| Status | ✅ Active |
| Since | Nodinite 7.4.0 |

## :fa-gears: How It Works {#how-it-works}

The parameter only matters when your [Product Key][ProductKey] includes the **DashboardPlugins** feature (Custom Dashboard). Without it, the Web Client shows no HTML widgets (the widget page answers 403), whatever this parameter says. To get the feature, contact [:Nodinite: support](https://support.nodinite.com)<sup>:fa-arrow-up-right-from-square:</sup>. Licence changes are made in [Manage License][].

With the feature, the Web Client writes the widget HTML, as it is, into a page of its own and shows that page in a **sandboxed iframe** with a **Content Security Policy**. Nothing in the HTML is rewritten or removed: the *browser* blocks what the policy forbids. This parameter opens parts of that policy. All Dashboard widgets share one frame; a Monitor View widget gets a frame of its own.

What a widget can always use: HTML markup, inline `style` attributes, and the Web Client's own stylesheets and scripts (Bootstrap, Font Awesome, Angular, Chart.js, moment). What stays blocked whatever you set: `<object>` elements, and **iframes to other sites**, for example a Power BI embed. An iframe to the Web Client's own address does load.

## :fa-code: Value Format {#value-format}

| Property | Type | Default | Meaning when `true` |
| --- | --- | --- | --- |
| `AllowScripts` | boolean | `true` | Scripts run inside the widget frame, so the Web Client's Angular directives work, for example the [Log View][] counter, and the frame grows to fit its content. When `false`, the frame runs no script at all: static HTML only, at a fixed height of 500 px. |
| `AllowInlineScripts` | boolean | `false` | Scripts written in the widget HTML itself may run, and `eval` is allowed. Works only with `AllowScripts`. |
| `AllowExternalScripts` | boolean | `false` | The widget may load JavaScript files from CDNs or other sites. Works only with `AllowScripts`. |
| `AllowExternalContent` | boolean | `false` | The widget may load images, fonts, and stylesheets from other sites. Embedded `data:` images and fonts, and inline styles, work without it. |
| `AllowExternalCalls` | boolean | `false` | The widget may call APIs on other sites. |

Calls from a widget to the [Web API][] run with a reduced, read-only set of the user's permissions, so a widget can't change data even with scripts on.

The default value lets a widget run the Web Client's own scripts, for example a Log View counter through the internal Web API, while keeping everything from other sites blocked:

```json
{
  "AllowScripts": true,
  "AllowInlineScripts": false,
  "AllowExternalScripts": false,
  "AllowExternalContent": false,
  "AllowExternalCalls": false
}
```

## :fa-lightbulb: Choosing a Value {#choosing-a-value}

Start from the default and open only what a widget needs:

| Widget | `AllowScripts` | `AllowInlineScripts` | `AllowExternalScripts` | `AllowExternalContent` | `AllowExternalCalls` |
| --- | --- | --- | --- | --- | --- |
| Static HTML announcements and environment badges | Either (`false` gives a fixed 500 px frame) | ❌ No | ❌ No | ❌ No | ❌ No |
| Log View counters through the internal Web API | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
| A widget with its own inline script | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
| A widget that shows images or fonts from another site | ✅ Yes | ❌ No | ❌ No | ✅ Yes | ❌ No |

>[!WARNING]
>Each `true` widens what widget HTML can do in your users' browsers. Deploy only widget files you have reviewed, and keep wide configurations to test environments with trusted content.

>[!NOTE]
>No switch allows frames to other sites. An embedded Power BI report, or any other `<iframe>` to another site, can't load in a widget.

## :fa-hand-point-right: Next Steps

* :fa-puzzle-piece: [Custom Dashboard Items][]  
* :fa-tv: [Extending Monitor Views][]  
* :fa-sliders: [Manage System Parameters][]  

## :fa-link-horizontal: Related Topics

* :fa-gauge: [Dashboard][]  
* :fa-key: [ProductKey][]  
* :fa-id-card: [Manage License][]  
* :fa-globe: [Web Client][]  
* :fa-key: [System Parameters][]  
* :fa-shield-check: [HTTP Security Headers][] - The Web Client's Content Security Policy  

[Custom Dashboard Items]:{ndr}/Getting%20Started/1.%20Dashboard/Custom%20Dashboard%20Items.md
[Dashboard]:{ndr}/Getting%20Started/1.%20Dashboard/Overview.md
[Extending Monitor Views]:{ndr}/Getting%20Started/3.%20Monitor/Extending%20Monitor%20Views.md
[HTTP Security Headers]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Hardening/HTTP%20Security%20Headers.md
[Log View]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Manage License]:{ndr}/Administration/5.%20Settings/6.%20Manage%20License.md
[Manage System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Manage%20System%20Parameters.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[ProductKey]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/ProductKey.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Web Client]:{ndr}/Core%20Services/Web%20Client/Overview.md