3452

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

Question:

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

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

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

<a href="https://i.stack.imgur.com/szt09.png" rel="nofollow"><img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/szt09.png" data-original="https://i.stack.imgur.com/szt09.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>

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.

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

Any ideas?

Answer1:

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; }

Recommend

  • How to write the position (x,y) of the object being tracked into text file?
  • How Can I Run a Regex that Tests Text for Characters in a Particular Alphabet or Script?
  • comparing files and writing only matching patterns, perl or awk?
  • In Android, When I Play Audio and go to other activity, audio doesn't stop after coming back
  • Dynamics 365 CRM Online - Use a Field that is NOT in collection (Hasn't been updated)
  • Linking error “undefined reference” about boost static library during compiling
  • creating variable names from an array list
  • Get todays date in Javascript
  • AccessViolationException in Release mode (C++)
  • Will volatile protect me from all behind-the-scenes multi-threading hazards?
  • Two different SelectItems return single selected value
  • How to use AWS roles with Packer to create AMIs
  • Accessing Redshift from Lambda - Avoiding the 0.0.0.0/0 Security Group
  • c#.NET USB device persistent identifier
  • Testing Akka.NET's Context.Parent with TestKit
  • Raphael JS becomes really slow when using background on a lot of rectangles
  • SQL Count. How can I count how many distinct values are in a table when an other two columns are mat
  • Does Julia have something equivalent to Ans (Matlab) or Last.value (R)
  • cannot be assigned to — it is read only - C#
  • Log4j cannot find properties file in a simple application
  • when does setTimeout start executing in a inline
  • How to add closing tag for canvas in three js rendered Canvas?
  • Get the pasted content on document on paste event
  • Monotouch crashes with NullReferenceException on non nullable object
  • Access object instance inside an event handler
  • Extract All Possible Paths from Expression-Tree and evaluate them to hold TRUE
  • How to get links to open in the native browser in iOS Meteor apps?
  • where do I find the xml.dom python package for the python-2.6.0-8.9.28 and I have a suse/x86_64 vers
  • Python pickle not one-to-one: different pickles give same object
  • How to assign byte[] as a pointer in C#
  • C: Incompatible pointer type initializing
  • why xml file does not aligned properly after append the string in beginning and end of the file usin
  • Weird JavaScript statement, what does it mean?
  • Warning: Can't call setState (or forceUpdate) on an unmounted component
  • bootstrap to use multiple ng-app
  • How to get icons for entities from eclipse?
  • using HTMLImports.whenReady not working in chrome
  • Turn off referential integrity in Derby? is it possible?
  • JaxB to read class hierarchy
  • Django query for large number of relationships