You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Javascript API and OPA

edited Aug 3, 2015 6:50AM in Intelligent Advisor for Fusion Service 8 comments

Content

I'm accessing an OPA interview inside the Service Cloud (Not via the browser control/CP page). In one of the scenarios, I'm required to load the Javascript API. But it doesn't seem to be working and I'm getting the following error whenever the following line is executed

var inc = window.external.Incident;

The error being thrown is

TypeError: Unable to get property "Incident" of undefined or null reference

Does this mean I can't use Javascript API inside OPA interviews?

EDIT: My bad! It's not via the browser control, but within the Service Cloud CX itself.

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!