- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2018 11:59 PM
I have an openframe API subscribed to CommicationEvent from Topframe. How to fire event from UI Macro to openframe.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2018 09:49 AM
You need to use openframe_request to communicate with openframe from UI Macro .
var context = {"payload": payload, "method" : "openframe_communication" };
CustomEvent.fireAll("openframe_request", context);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2018 09:49 AM
You need to use openframe_request to communicate with openframe from UI Macro .
var context = {"payload": payload, "method" : "openframe_communication" };
CustomEvent.fireAll("openframe_request", context);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-12-2021 02:15 PM
I'm using a Client Scripts to calll CustomEvent.fireAll and getting error "(g_env) [SCRIPT:EXEC] Error while running Client Script "IPFX Open Frame": TypeError: CustomEvent.fireAll is not a function"
function onLoad() {
var a = g_user.userID;
alert(a);
//Type appropriate comment here, and begin script below
var context = { "payload": a, "method": "openframe_communication" };
CustomEvent.fireAll("openframe_request", context);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2022 12:25 AM
Will this applicable to send communication event to Openframe API from Agent Workspace(i.e. Top Frame)?
Please response...