ServiceNow OpenFrame API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2020 04:38 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2022 11:11 PM
Hi kirti,
Did you find any solution of this problem