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

oh i see. So you have the requirement to display servicenow as an iframe in another application/website!!.. Then i think the configuration/compatibility of the other website has to be checked... its nothing to do with servicenow.



thanks



note: please hit helpful/correct depending upon the impact


There are few configurations to be done to enable Servicenow to be enabled in Iframe. I am not sure if we need to do some thing on the Servicenow side or the other website side. I have however raised a Hi ticket with Servicenow, Was Checking if anyone faced the same issue and could resolve 🙂


sure ram , do post back the fix that will be provided by service-now.. will wait for it



thanks


Sure Sarfraz, Will update once I hear from Servicenow and thanks for the responses 🙂


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