Network Management

Iframe in custom HTML Resource not showing

How to resolve an issue where using an HTML link in the Custom HTML resource with an iframe causes the iFrame to appear blank when the SolarWinds Platform Web Page is accessed from the outside server.

First published date

10/17/2018 4:00 PM

Last published date

1/26/2026 6:16 PM

Overview

When using a HTML Link In the Custom HTML Resource, and using Code that consists of an Iframe, the link shows up in the Local Server, but when the SolarWinds Platform Web Page is accessed from outside the Server, The Iframe appears blank.

Below is an example of the Code used In the Custom HTML Resource:

<iframe src="http://Sample URL" style="width: 100%; height: 600px"scrolling="No" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0">

</iframe>

<!–– Addtional notes for iframe Zooming sample code...

<style>
#wrapper { width: 500px; height: 400px; padding: 0; overflow: hidden; }
#scaled-frame { scrolling="yes"; width: 950px; height: 750px; border: 1px; }
#scaled-frame {
    zoom: 0.5;
    -moz-transform: scale(0.5);
    -moz-transform-origin: 0 0;
    -o-transform: scale(0.5);
    -o-transform-origin: 0 0;
    -webkit-transform: scale(0.5);
    -webkit-transform-origin: 0 0;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
 #scaled-frame  { zoom: 1;  }
}
</style>

<div id="wrapper"><iframe id="scaled-frame" src="http:///Orion/SummaryView.aspx?ViewID=1"></iframe></div>

--!>

 

Product section

Orion Platform

Cause

This issue occurs when the SolarWinds Platform website uses HTTPS, and the Link in the iframe is HTTP. Sometimes, this is caused by a security update to the browser that automatically hides iframes that use HTTP if you are browsing a site on an HTTPS connection.

Resolution

If the URL you are trying to display in the iframe is within your control, change it to HTTPS.
If the issue still persists, please do the next steps.
  • go to /Orion/Admin/AdvancedConfiguration/Global.aspx
  • find the setting HTMLResourceSanitizationEnabled
  • uncheck (make it false)
  • SAVE
For additional information, see Custom HTML.