Network Management
Use the Custom HTML widget to display HTML-based data in the SolarWinds Platform Web Console
This article describes how to create a custom widget that displays data based on HTML that you provide. For example, you can create a widget that offers shortcuts to other parts of the SolarWinds Platform Web Console or a widget that displays data collected from external APIs via the API Poller feature.
First published date
Last published date
Overview
This article provides steps to create your custom widgets based on HTML code that you provide, with support for iframes, external links, links to specific pages or views in the SolarWinds Platform Web Console, and more. For example, you can create a custom widget that provides quick access to external websites.
Product section
Resolution
NOTE: Starting 2020.2.5, Custom HTML resource needs admin rights
- Navigate to the page or view where you want to add a custom widget.
- Click the pencil icon in the upper-left portion of the SolarWinds Platform Web Console.
.
- Click Add Widgets.
- Under Available Widgets, type Custom HTML and click the Search icon.
- Drag the new widget over to the part of the page or view where you're adding it.
- Back to the Customize Page, click Submit to save the changes.
- Click Done Adding Widgets > Done Editing.
- At the top of the new Custom HTML widget, click Edit.
- Provide a Title and Subtitle for the widget.
- Enter the HTML that will provide data to the widget.
- (Optional) Select the "Use synchronous loading" option.
- Click Submit to save your changes.
The following example shows HTML with iFrame scripting:
You can also include SWQL variables in HTML code, like those included in alert email notifications.
For example, the following HTML accesses a Node Details page:
<B>NodeID:</B> ${NodeID}<BR>
This HTML can be used for the Interface Details page:
<B>InterfaceID:</B> ${InterfaceID}<BR>
The following figure shows a Google chart created using the Custom HTML widget:
See THWACK for more ideas, including:
- Insert Google charts within custom HTML
- Using your Custom HTML resource to display SWQL query results
Please note that Thwack is a community space where users may post any content as a suggestion or recommendations to you for your internal use. The information set forth herein may come from third-party websites or customers. SolarWinds is not liable for any downtime or any issue that may occur if you perform the following suggestions on the link provided. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.