open-cti-demo-adapter icon indicating copy to clipboard operation
open-cti-demo-adapter copied to clipboard

Using Open CTI with LWC

Open shubham17007 opened this issue 2 years ago • 0 comments

Hello,

I am using VF page for the adapter url. In that VF page I have embedded a lightning out app and using LWC within it.

But when I try to load the Phone utility component I am getting below error

iframeinterface.js:1 Uncaught DOMException: Blocked a frame with origin "https://mydomain-dev-ed.my.salesforce.com/" from accessing a cross-origin frame.
    at Object.handleOnload (https://mydomain-dev-ed.my.salesforce.com/support/console/xdomain/30.0/iframeinterface.js:1:357)
    at window.onload (https://mydomain-dev-ed.my.salesforce.com/support/console/xdomain/30.0/crossDomainProxy.html:4:89)

Do you think it is related to LWC with Open CTI? . Which framework is recommended Aura or LWC to use with Open CTI ?

shubham17007 avatar May 24 '22 11:05 shubham17007