The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Servicenow Iframe issues

Devtesting123
Kilo Contributor

Hi 

 

I'm trying to load Servicenow as an iframe in a website but im getting an error.

 

Looking at the browser console logs i see this error *** WARNING *** GlideAjax.getXMLWait - synchronous function - processor: SysMessageAjax.

 

The page doesn't seem to cache, even though I'm logged into my servicenow instance in another browser tab

3 REPLIES 3

RaghavSh
Kilo Patron

@Devtesting123 What is the business requirement? Iframe has cross scope restrictions, that could be the issue.

GlideAjax.getXMLWait could be due to any Global script running on load of instance.


Raghav
MVP 2023
LinkedIn

Ankur Bawiskar
Tera Patron
Tera Patron

@Devtesting123 

what's your business requirement here?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@Devtesting123 

My thought

But please check these links

Specify URL allow list for cross-origin iframe communication (instance security hardening)

Try using getXML() in GlideAjax.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader