I've a call center that have a canvas. When I try using the functions of the SF Open CTI (interaction.js), as the sforce.interaction.cti.setSoftphoneWidth function, nothing happens.

If I'm updating in the "interaction.js" the window, and replacing "window.parent.postMessage" by "top.postMessage", it's working.

It there something that I am not doing correctly?

Regards, Ilan


I faced the same issue, you can check

Open CTI methods don't work in canvas application (source origin's function returning false)

They fixed this library in summer 16 release.

So you need to get account which is already migrated to summer 16 or wait untill your instance migrates.

You can found calendar here: https://trust.salesforce.com/trust/calendar

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.