How to disable Skype and Lync telephony providers for Dynamics CRM completely

无人久伴 提交于 2019-12-12 05:57:08

问题


How can we disable the Skype and Lync providers completely from Dynamics CRM 2015 Online in either supported or unsupported way?

What I have tried so far:
- Created my own link on phone number fields
- Tried to locate any jQuery event handlers attached to the element in the DOM
- Assigned the blank event handler to Mscrm.ReadFormUtilities.handlePhoneNumberClick (Ref: http://crmtipoftheday.com/2014/05/15/how-to-block-click-to-call-in-crm/)

Still when I click on the phone number the Dynamics create a blank page and activates an inline phone call record.

And when I run

frames[0].$('#telephone1 div span a').click();

from browser console, it doesn't create a blank page or an inline phone call record.

NOTE: This was not happening prior to CRM 2015 Update 1 or in Update 1 legacy form rendering.

Any ideas?


回答1:


After debugging action.js, formcontrols.js and global.ashx and try hitting several times I caught the point in Mscrm API that was opening a new window for default telephony providers (Skype/Lync).

This script disabled the default telephony completely. Use with caution and test carefully before deploying to production environment as this is not supported.

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


来源:https://stackoverflow.com/questions/32327251/how-to-disable-skype-and-lync-telephony-providers-for-dynamics-crm-completely

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!