web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Bring your code 2 life / CRM 2013: Disable click to ...

CRM 2013: Disable click to call integration or add custom phone integration logic Part 3

Andreas Cieslik Profile Picture Andreas Cieslik 9,267
I finally managed it to disable the click to call integration on phone numbers, given you insert the following code for the OnLoad method in the entity form JavaScript

Mscrm.ReadFormUtilities.handlePhoneNumberClick = function(phoneNumberElement){if(!IsNull(phoneNumberElement)){Xrm.Page.getControl(phoneNumberElement.parentNode.parentNode.parentNode.parentNode.id.replace("_d", "")).goToEditState();}};

As a result when the user clicks directly on the phone number the user will immediately be in the edit mode. No click to call integration is bugging the user any more!

This was originally posted here.

Comments

*This post is locked for comments