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

Announcements

No record found.

News and Announcements icon
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 2

Andreas Cieslik Profile Picture Andreas Cieslik 9,267
After more research I found that we can completely override the phone number click event handler:

Mscrm.ReadFormUtilities.handlePhoneNumberClick = function (){return;};

The nice thing is that now we could add our own phone number click event handler to do whatever we want.

The original handlePhoneNumberClick event handler calls Mscrm.ReadFormUtilities.openPhoneClient which will first call openPhoneWindow and later jumps to the phone activity quick edit window if the activity Container control was added to the form.

My next approach will be to make the handlePhoneNumberClick event set the field to edit mode.

This was originally posted here.

Comments

*This post is locked for comments