issue with servicenow displayed in iframe

ramchandravarma
Tera Contributor

We have to embeded ServiceNow in a iframe for one of our portal. After embeding few things are not working in that iframe servicenow window,  

like unable to change the filter condition, Clicking "New" button in list view does nothing...etc.

Does anyone face this issue and how did you address it?

1 ACCEPTED SOLUTION

This is to update the forum that the issue is now resolved. Service now is not going to help you here, Below is the response from them, "It looks like this is because you're trying to render ServiceNow content outside of ServiceNow, whether in an iFrame or otherwise, which unfortunately, this is not supported. If you're seeing this or similar issues with the instance when displaying it outside an iframe we can assist with that. Currently, the only content that Support will assist with if there are rendering issues is the Login Portlet" Solution: The issue is neither with the Servicenow nor the application(I was displaying Servicenow as Iframe)   but with the Browser security. The fix comes with the security risk as per the links below 1. https://stackoverflow.com/questions/25098021/securityerror-blocked-a-frame-with-origin-from-accessin... 2. https://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome 3. chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security I have used the above command to open a separate new chrome window with security disabled. And you open the application url here and servicenow will work as normal with all functionality. 4. You need to take the call if you want to enable this, from the article I see it is not recommended. The call is now yours


View solution in original post

16 REPLIES 16

snehabinani26
Tera Guru

Hi Ram,



Please go through the below link.



Using Iframe in Service portal


Thanks Sneha, Actually the issue is not about displaying content in Servicenow as an Iframe, but displaying Servicenow itself in an iframe. I could get that working, however certain functions arent working. Can you help in that regard


Many Thanks Shishir, Actually the issue is not about displaying content in Servicenow as an Iframe, but displaying Servicenow itself in an iframe. I could get that working, however certain functions arent working. Can you help in that regard