Skip to main content
I am using opencti and the Lightning Console.

Using the following as example code: https://github.com/developerforce/open-cti-demo-adapter

When click to dial is enabled, if I click on a number in the Lightning Console, I get the following error in the Chrome:

Refused to execute JavaScript URL because it violates the following Content Security Policy directive: "script-src 'self' 'nonce-0a48543e-623a-f482-42eb-45821ba60c47' chrome-extension: 'unsafe-inline' 'unsafe-eval' https://sfdc.azureedge.net *.na57.visual.force.com 'unsafe-eval' https://ssl.gstatic.com/accessibility/". Note that 'unsafe-inline' is ignored if either a hash or nonce value is present in the source list.

Also, the sforce.opencti.screenPop will not work within a Lightning Component but will work inside a VisualForce page.

Is this all related?

Any ideas?

 
답변 1개
  1. 2018년 8월 22일 오후 2:32
    This seems to be a problem with a Lightning Component using opencti to call there server?

    Is this a bug?
0/9000