Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Servicenow Iframe issues

Devtesting123
Tera 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

5 REPLIES 5

Raghav Sharma24
Giga 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.

Ankur Bawiskar
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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@Devtesting123 

Hope you are doing good.

Did my reply answer your question?

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

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