Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Open CTI with Lightning component #26

Open
aish2903 opened this issue Sep 10, 2018 · 2 comments
Open

Open CTI with Lightning component #26

aish2903 opened this issue Sep 10, 2018 · 2 comments

Comments

@aish2903
Copy link

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.

@dlouvton
Copy link
Contributor

dlouvton commented Sep 11, 2018 via email

@ibrahimryu
Copy link

ibrahimryu commented Dec 17, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants