Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

ServiceNow OpenFrame API

Kirti Kumar
Kilo Contributor

Hi Team,

Greetings for the day!!!!

I am using latest openframeAPI  to have the functionality of openServiceNowForm to open Incident ,User Page

but it is giving the following error as :-

OpenFrame init failed.. Openframe init request timed out

Script:- <script src="https://<instance>/scripts/openframe/latest/openFrameAPI.min.js" ></script>

Function as 

var config = {
height: 300,
width: 200
}
function handleCommunicationEvent(context) {
console.log("Communication from Topframe", context);
}
function initSuccess(snConfig) {
console.log("openframe configuration", snConfig);
//register for communication event from TopFrame
openFrameAPI.subscribe(openFrameAPI.EVENTS.COMMUNICATION_EVENT,
handleCommunicationEvent);
}
function initFailure(error) {
console.log("OpenFrame init failed..", error);
}
openFrameAPI.init(config, initSuccess, initFailure);

 

But I am getting this error and non of my fuction are working  "OpenFrame init failed.. Openframe init request timed out"

I  am facing this problem/issue from quite a long time.

Please help me on this so that all API works fine.

Regards

Kirti Kumar

5 REPLIES 5

Hi Onkar,

Greetings for the day!!

I have tried all browser but still not able to resolve this issue " OpenFrame init failed.. Openframe init request timed out".

Please suggest how to achieve  all API functionality working

 

Regards

Kirti Kumar

Ankur Bawiskar
Tera Patron

@Kirti Kumar 

refer below links for help

OpenFrame overview

openFrameAPI.init() returns with error "Openframe init request timed out" in Chrome

Openframe API in Agent WorkSpace

Regards
Ankur

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

Hi Ankur,

Greetings for the day!!

I have tried all browser but still not able to resolve this issue " OpenFrame init failed.. Openframe init request timed out".

Please suggest how to achieve  all API functionality working

 

Regards

Kirti Kumar