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!
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!
Comments
Post a Comment