+ Start a Discussion

CTI from s-control

I 've installed the CTI demo adapter, and I am able to make calls from a custom link linked to an executejavascript calling the sendctimessage(<params>) function.
What I am unable to do however is to get this function to work from an s-control instead of the executejs.
What is different when the js is written in executejs and the s-control?
Thanks in advance, Much appreciated.
The S-control is served up in an Iframe within the document which is probably in a separate domain.  The CTI is in the parent document in the Salesforce.com domain.  If you want to be able to make cti calls from your Scontrol, at the very least you'll have to reference the parent document, but if they are in fact in different domains then you just won't be able to do it.
Thanks very much, this worked!