Javascript API and OPA
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.
0