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
Last published date
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
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 issue still persists, please do the next steps.
- go to /Orion/Admin/AdvancedConfiguration/Global.aspx
- find the setting HTMLResourceSanitizationEnabled
- uncheck (make it false)
- SAVE