• Nessim Slimani
  • NEWBIE
  • 0 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hello,

I'm using the opencti library and i'm currently having problems when hovering phone numbers, the label on hover is incorrect.

Indeed, when phone numbers are disabled with disableClickToDial(), the label is the following :

img_label_disabled_click_to_dial

And when phone numbers are enabled with enableClickToDial(), the label is the following :

img_label_enable_click_to_dial

For now, the only option I found to solve the problem is to update the view with refreshView() with this piece of code while enabling/disabling click to dial :
 
refreshView: function() {
    sforce.opencti.refreshView({callback: (response) => {
            this.callback (response);
        }
    });
},

Then, the labels are correct but I have to refresh manually the view.

It seems that this is most likely a Salesforce bug, with the opencti library not refreshing correctly the labels. Is it the expected behavior ?
Can anyone confirm this is a salesforce bug ? If so, how can I create a ticket so that their dev solve this ?

And also, if anyone encountered this issue, how did you solve the problem ?

Thanks
Hello,

I'm using the opencti library and i'm currently having problems when hovering phone numbers, the label on hover is incorrect.

Indeed, when phone numbers are disabled with disableClickToDial(), the label is the following :

img_label_disabled_click_to_dial

And when phone numbers are enabled with enableClickToDial(), the label is the following :

img_label_enable_click_to_dial

For now, the only option I found to solve the problem is to update the view with refreshView() with this piece of code while enabling/disabling click to dial :
 
refreshView: function() {
    sforce.opencti.refreshView({callback: (response) => {
            this.callback (response);
        }
    });
},

Then, the labels are correct but I have to refresh manually the view.

It seems that this is most likely a Salesforce bug, with the opencti library not refreshing correctly the labels. Is it the expected behavior ?
Can anyone confirm this is a salesforce bug ? If so, how can I create a ticket so that their dev solve this ?

And also, if anyone encountered this issue, how did you solve the problem ?

Thanks