---
title: "Stylesheets Overview: Manage and Customize Log Views and Alerts in Nodinite"
description: Manage user-defined Stylesheets in Nodinite to format Log Views and alerts from Alarm Plugins. Learn how to add, edit, delete, and restore XSLT and Liquid Stylesheets, set the output MIME type, and control embedded scripts.
---

# <i class="fal fa-file-lines" aria-hidden="true"></i> Stylesheets Overview

Easily manage and customize how your data and alerts are presented in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> with user-defined Stylesheets. This overview shows you how to add, edit, delete, and restore Stylesheets for [Log Views][] and Monitoring Alerts, empowering your team with flexible, branded, and actionable insights.

On this page, you will learn how to:

* ✅ Add, edit, delete, and restore Stylesheets for Log Views and Monitoring Alerts  
* ✅ Filter and sort Stylesheets for efficient management  
* ✅ Control content-type and output for tailored data presentation  

><i class="fal fa-square-plus" aria-hidden="true"></i> Get started now: How to [Add or Manage Stylesheet][Add or manage Stylesheet] user guide.

![Add the Liquid Stylesheet Contoso - Invoice view with Render as HTML and a short template, then find it in the list, animated walkthrough (7.12)][6]  
*Animated walkthrough: a new Liquid Stylesheet, from **Add Stylesheet** to the list. Every field is explained in [Add or manage Stylesheet][].*  

1. Click **Add Stylesheet**, and enter a **Name** (*Contoso - Invoice view*) and a **Description**.
2. Choose the **Type** *Liquid*, and tick **Render as HTML**. **Message Body is Json** is already checked for a new Liquid Stylesheet.
3. Paste the template, and click **Save and close**. The new Stylesheet is in the list.

The **Stylesheet Overview** in the [Customize][] main menu is where a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Administrator manages user-defined [Stylesheets][] that are being used in [Log Views][] and Monitoring Alerts from most <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Alarm Plugins][].

## <i class="fal fa-diagram-project" aria-hidden="true"></i> Understanding Where Stylesheets Are Used

<div class="mermaid">
graph LR
    MT["fa:fa-tags Message Type"] -->|"selects"| SS["fa:fa-file-lines Stylesheet<br/>XSLT or Liquid"]
    SS -->|"View message formatted as"| LV["fa:fa-search Log Views"]
    SS -->|"alert body"| AP["fa:fa-bell Alarm Plugins"]
    AP -->|"configured on"| MV["fa:fa-display Monitor Views"]
    SP["fa:fa-gears StylesheetScriptsEnabled"] -.->|"allows browser scripts"| SS
    style MT fill:#2678BD,color:#fff
    style SS fill:#E47528,color:#fff
    style LV fill:#3F827B,color:#fff
    style AP fill:#3F827B,color:#fff
    style MV fill:#3F827B,color:#fff
    style SP fill:#9E59BB,color:#fff
</div>

*A [Message Type][Message Types] (blue) selects the Stylesheet (orange); the result appears in Log Views and in alerts from Alarm Plugins on [Monitor Views][] (teal). The [StylesheetScriptsEnabled][] [System Parameter][System Parameters] (purple) decides whether the Stylesheet's browser scripts may run.*

| Where | How the Stylesheet is chosen | Read more |
| --- | --- | --- |
| [Log Views][] | Bound to one or more [Message Types][] | [Add or manage Stylesheet][] |
| [Alarm Plugins][] | Set on the Basic tab of each Alarm Plugin entry | [Add or manage Alarm Plugin][], [E-mail with options][E-mail with options - Stylesheet] |
| [Monitor Views][] | Alerts use the Stylesheet of each Alarm Plugin entry selected on the External Notifications tab | [Monitor View External Notifications tab][] |

## <i class="fal fa-list" aria-hidden="true"></i> The Stylesheet List

In the **Stylesheet Overview**, you will find a sortable **list** of user-defined [Stylesheets][]. An extensive list of [Stylesheets][] can be narrowed down by typing characters into the **Filter the result** text box. The filter matches the text as typed; `%` and `_` count as ordinary characters.

![Stylesheets list filtered on Contoso, seven Stylesheets found (7.12)][8]  
*Filter the result on Contoso: seven Stylesheets.*  

![Stylesheets list filtered on alarm with Include deleted, the Name, Type, and Description columns, the Add Stylesheet button, and the Shipped Email Alarm Plugin, Email options Alarm Plugin, and Event Log Alarm Plugin among two Contoso Stylesheets (7.12)][1]  
*Filtered on *alarm*: the Stylesheets the Email, Email options, and [Event Log][] [Alarm Plugins][] ship sort by name among your own alert Stylesheets. Sort on **Name**, **Created**, **Changed**, **Type**, or **Description**.*  

<sup><span class="nodinite-new-badge">New 7.12</span></sup> The Stylesheets the Alarm Plugins ship carry the **Shipped** badge. They are read only and can't be deleted, because every upgrade of the plugin replaces them; clone one to customize it, see [Stylesheets shipped with an Alarm Plugin][Add or manage Stylesheet#stylesheets-shipped-with-an-alarm-plugin].

![Email Alarm Plugin, Email options Alarm Plugin, and Event Log Alarm Plugin in the Stylesheets list, each with the Shipped badge and its description (7.12)][9]  
*The **Shipped** badge, with a lock, next to the name. Your own Stylesheets, such as the demo *Embedded C# Scripts Example*, have none.*  

## <i class="fal fa-file-code" aria-hidden="true"></i> Output Content-Type

The stylesheet can set the **content-type** header to render the correct output, see more in the [xsl:output documentation](https://learn.microsoft.com/en-us/previous-versions/dotnet/netframework-4.0/ms256187%28v=vs.100%29)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>.

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> uses the attributes **media-type** or **method**. Use the element '**xsl:output**' to set the correct MIME type. The evaluation rule is as follows:

1. If set, the system makes use of the value set on the **media-type**
2. Else, use any of the following the **methods**:
   * html -> **text/html**
   * xml -> **text/xml**
   * text -> **text/plain**

Standard XSLT and Liquid always work. <sup><span class="nodinite-new-badge">New 7.12</span></sup> The output always runs in an isolated frame, so a Stylesheet's script can't read the [Web Client's][Web Client] window, cookies, storage, or API answers. Whether the script runs at all (script tags, event handlers, and `javascript:` links, in XSLT and Liquid) is decided by the [StylesheetScriptsEnabled][] [System Parameter][System Parameters]: with `false`, the default on a new installation (an upgrade keeps its value), the output shows without its scripts. `msxsl:script` blocks never run in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 7.

## Manage Stylesheet

The available functionalities for managing the Stylesheet are:

* <i class="fal fa-square-plus" aria-hidden="true"></i> [Add new Stylesheet][Add or manage Stylesheet]  
* <i class="fal fa-edit" aria-hidden="true"></i> [Edit][Add or manage Stylesheet] a Stylesheet  
* <i class="fal fa-trash-can" aria-hidden="true"></i> [Delete][Show Deleted] Stylesheet (not a shipped one)  
* <i class="fal fa-redo" aria-hidden="true"></i> Restore deleted Stylesheet  
* <i class="fal fa-filter" aria-hidden="true"></i> Filter the list of Stylesheets  
* <i class="fal fa-sort" aria-hidden="true"></i> Sort  

### <i class="fal fa-square-plus" aria-hidden="true"></i> Add new Stylesheet

To create a new [Stylesheet][Stylesheets], click the "Add Stylesheet" button to open the [Stylesheet editor][Add or manage Stylesheet].

![Add Stylesheet button in the Stylesheets list (7.12)][2]  
*The **Add** new Stylesheet button sits in the upper right corner of the list.*  

### <i class="fal fa-edit" aria-hidden="true"></i> Edit Stylesheet

To **Edit** an existing [Stylesheet][Stylesheets], click its link in the **Name** column, or open its **Action** menu and choose **Edit**. The **Action** menu also offers **Show in Mapify** and **Show in Mermaid**, which draw the Stylesheet and its [Message Types][] in [Mapify][], and **Delete** (or **Restore** on a deleted Stylesheet). <sup><span class="nodinite-new-badge">New 7.12</span></sup> A shipped Stylesheet's menu has no **Delete**.

![Action menu of a shipped Stylesheet with Edit, Show in Mapify, and Show in Mermaid, and no Delete (7.12)][10]  
*The **Action** menu of a shipped [Stylesheet][Stylesheets]: it can't be deleted.*  

![Action menu of a Stylesheet with Edit, Show in Mapify, Show in Mermaid, and Delete, Edit highlighted (7.12)][3]  
*Clicking the Name link opens the same editor as **Edit**.*  

### <i class="fal fa-trash-can" aria-hidden="true"></i> Delete Stylesheet

![Delete the Stylesheet Contoso - Packing slip (draft), list it with Include deleted, and restore it, animated walkthrough (7.12)][7]  
*Animated walkthrough: a delete you can take back, from the **Action** menu.*  

1. Open the **Action** menu of the Stylesheet and choose **Delete**.
2. Confirm with **Yes**. The Stylesheet is gone from the list.
3. Tick **Include deleted** to list deleted Stylesheets too.
4. Open the **Action** menu of the deleted Stylesheet, choose **Restore**, and confirm with **Yes**.
5. Untick **Include deleted**. The Stylesheet is back.

![Action menu of a Stylesheet with Edit, Show in Mapify, Show in Mermaid, and Delete, Delete highlighted (7.12)][4]  
*A deleted Stylesheet is only marked as deleted and can be restored later; see [Show deleted records][Show Deleted].*  

### <i class="fal fa-redo" aria-hidden="true"></i> Restore deleted Stylesheet

1. Tick **Include deleted** (*Include deleted Stylesheets*). A deleted Stylesheet shows a red **Deleted** badge, and the others show **Available**.
2. Open the **Action** menu of the deleted Stylesheet, choose **Restore**, and confirm with **Yes**.

![Action menu of a deleted Stylesheet with Edit, Show in Mapify, Show in Mermaid, and Restore (7.12)][5]  
***Restore** replaces **Delete** in the menu of a deleted Stylesheet.*  

## <i class="fal fa-question" aria-hidden="true"></i> Frequently asked questions / Troubleshooting

You can create **new**, **edit**, and **delete** [Stylesheets][] using the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Web Client][Web ClientCS].

### How do I create a new Stylesheet?

To create a new Stylesheet, follow the steps in the [Add or Manage Stylesheet][Add or manage Stylesheet] user guide, or start from one of the [Stylesheet Examples][].

### Why does my Stylesheet with a script fail?

A Stylesheet's browser scripts only run when [StylesheetScriptsEnabled][] is `true`; with `false` the output shows without them (Chart.js charts stay empty). Check the parameter before you enable it, and read its security warning. A Stylesheet that calls an `msxsl:script` function fails whatever the value: `msxsl:script` never runs in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 7, so use the built-in functions instead.

### Why don't business users see "View message formatted as"?

The **Action** menu of a Log Event offers **View message formatted as '*Stylesheet name*'**, which opens **View message body formatted as '*Stylesheet name*'**. Either no Stylesheet is bound to the [Message Type][Message Types] of the [Log Event][], or the user's [Role][Roles] lacks **View Transformed** on that Log View; see [Permission Set for Log Views][]. Business users find the action in the Log View, see [View message formatted as][Log View - View message using a Stylesheet].

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-file-plus" aria-hidden="true"></i> [Add or manage Stylesheet][]  
* <i class="fal fa-code" aria-hidden="true"></i> [Stylesheet Examples][]  
* <i class="fal fa-bell" aria-hidden="true"></i> [Add or manage Alarm Plugin][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-file-lines" aria-hidden="true"></i> [What is a Stylesheet?][Stylesheets]  
* <i class="fal fa-search" aria-hidden="true"></i> [Log Views][]  
* <i class="fal fa-display" aria-hidden="true"></i> [Monitor Views][]  
* <i class="fal fa-bell" aria-hidden="true"></i> [Alarm Plugins][]  
* <i class="fal fa-tags" aria-hidden="true"></i> [Message Types][]  
* <i class="fal fa-user-secret" aria-hidden="true"></i> [Access Management][]  
* <i class="fal fa-gears" aria-hidden="true"></i> [StylesheetScriptsEnabled][]  
* <i class="fal fa-paint-brush" aria-hidden="true"></i> [Customize][]  
* <i class="fal fa-user" aria-hidden="true"></i> [See what happened to an order (Getting Started)][See what happened to an order]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Customize/Stylesheets/Overview.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Customize/Stylesheets/AddStylesheetButton.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Customize/Stylesheets/ActionMenuEdit.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Customize/Stylesheets/ActionMenuDelete.png
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Customize/Stylesheets/ActionMenuRestore.png
[6]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Customize/Stylesheets/Stylesheet_Add.gif
[7]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Customize/Stylesheets/Stylesheet_DeleteRestore.gif
[8]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Customize/Stylesheets/FilterContoso.png
[9]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Customize/Stylesheets/ShippedStylesheetsInList.png
[10]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Customize/Stylesheets/ShippedStylesheetRowActionMenu.png

[Access Management]:https://docs.nodinite.com/administration/access-management/overview/
[Add or manage Alarm Plugin]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/add-or-manage-alarm-plugin/
[Add or manage Stylesheet]:https://docs.nodinite.com/administration/customize/stylesheets/features/add-or-manage-stylesheet/
[Add or manage Stylesheet#stylesheets-shipped-with-an-alarm-plugin]:https://docs.nodinite.com/administration/customize/stylesheets/features/add-or-manage-stylesheet/#stylesheets-shipped-with-an-alarm-plugin
[Alarm Plugins]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/what-is-an-alarm-plugin/
[Customize]:https://docs.nodinite.com/administration/customize/overview/
[E-mail with options - Stylesheet]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/email-with-options/#stylesheet
[Event Log]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/event-log/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log View - View message using a Stylesheet]:https://docs.nodinite.com/getting-started/log/open-a-log-event-and-read-its-message/#stylesheet
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Mapify]:https://docs.nodinite.com/mapify/overview/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Monitor View External Notifications tab]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/monitor-view-external-notifications-tab/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Permission Set for Log Views]:https://docs.nodinite.com/administration/access-management/roles/features/permission-set-for-log-views/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[See what happened to an order]:https://docs.nodinite.com/getting-started/scenarios/order-flow/see-what-happened-to-an-order/
[Show Deleted]:https://docs.nodinite.com/administration/tools/show-deleted-records/
[Stylesheet Examples]:https://docs.nodinite.com/administration/customize/stylesheets/examples/overview/
[Stylesheets]:https://docs.nodinite.com/administration/customize/stylesheets/features/what-is-a-stylesheet/
[StylesheetScriptsEnabled]:https://docs.nodinite.com/administration/settings/system-parameters/stylesheetscriptsenabled/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Web Client]:https://docs.nodinite.com/getting-started/overview/
[Web ClientCS]:https://docs.nodinite.com/core-services/web-client/overview/