iFrame issues

Andrew Pishchul
Giga Expert

I found a strange problem related iFrame blocks when viewing on a mobile device: iFrame works OK on a desktop, but sometimes it renders a blank page when you open a page on a mobile device!!

You can even check it on your own instance:

There is out-of-the-box ESS portal for each ServiceNow instance, just go to http://[your_instance]/ess/ .
When you open 'incident status' page https://[your_instance]/ess/incident_status.do on a desktop, it works fine, but try to open this page on your mobile device and you will see a blank page.

Has anyone experienced this issue? Any ideas how to fix that? I get stuck with our custom ESS, because it just doesn't work properly on mobile devices.

interesting thing: apparently iFrame works OK with CUSTOM tables, but it doesn't work with the major ones (incident, change_request).

8 REPLIES 8

jfarrer
Mega Guru

I just tried it out on the default ESS demo site and on a custom CMS site and both had the issue on an iPad mini, but not on my Android phone. In some cases it was partially showing up while loading and then cut off with a sliver still showing leading me to believe it's related to the automatic iframe resizing. If that's really where the issue is then it's probably something that SN support would need to address.

It didn't happen on every iframe (most catalog items were working pretty well) but in a few cases other blocks did not show up correctly, though rotating the device would sometime help with that.

Have you submitted this to SN as an incident?


I haven't submitted it to SN yet, just trying to find out what is a nature of this issue.

here is more interesting:
- when you set iFrame to 'fixed size' and specify some particular dimensions - that will work fine and iFrame will be rendered on iPhone, BUT... if you try to open any ticket from 'My recent updates' - it won't be rendered.

and even more:
- when it doesn't render an iFrame (you see a blank page) - it actually DOES, you just don't see it, and if you tap on some blank spot where suppose to be a link - you will actually click that link and will be forwarded to the corresponding page.. just weird.


I just submitted an incident to SN support team.

I'm afraid it's a major issue which, affects core CMS functionality.

Also I was trying to cheat with iFrame - I didn't use iFrame blocks, I used a dynamic block and put iframe tags within.. no success, the same issue.


Hi there,

I'm experiencing the same issue as well, are you able to share what ServiceNow advised you? I also found hardcoding the frame size per device actually gets the iframe displayed but not ideal.
Some pages also renders fine once you rotate the device.
Another finding is that if you reposition the iframe into another dropzone, it works on some occassions.

Thanks!
Tom