open-cti-demo-adapter
open-cti-demo-adapter copied to clipboard
Open CTI with Lightning component
Hi,
I'm completely new to Open CTI. Just had a question if it is possible to refer a Lightning component directly from the Call center'c CTI adapter URL instead of calling the Visualforce page.
No
On Sun, Sep 9, 2018, 22:27 aish2903 [email protected] wrote:
Hi,
I'm completely new to Open CTI. Just had a question if it is possible to refer a Lightning component directly from the Call center'c CTI adapter URL instead of calling the Visualforce page.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/developerforce/open-cti-demo-adapter/issues/26, or mute the thread https://github.com/notifications/unsubscribe-auth/AGVkCo1cea2X-hAVD1CiKdPkxAFb6tPnks5uZfhfgaJpZM4Wgu3g .
Hello dlouvton, i'm trying to use open cti with this import in my aura component without using visualforce page <ltng:require scripts="/support/api/47.0/lightning/opencti_min.js"></ltng:require>
but the callback does not work when i try :
`
disableClickToDial: function(helper) {
sforce.opencti.disableClickToDial({callback: (response) => {
helper.callback(response);
}
});
},
callback: function(response) {
if (response.success) {
console.debug('API method call executed successfully!');
} else {
console.error('Something went wrong! Errors:', response.errors);
}
},
` i wonna know if there is solution to this issue. Thanks