open-cti-demo-adapter
open-cti-demo-adapter copied to clipboard
Using Open CTI with LWC
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 ?