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

1 Answer 1


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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .