Xrm.Page is deprecated?? No worries. .

With the new Version 9.0, Xrm.Page is now deprecated and instead of using Xrm.Page you have to use getFormContext(). This is very simple to replace your existing deprecated library. In today’s post, I am going to show you how you can replace the existing liberary with getFormContext().
Previously, we used to use this code snippet to get the field value.

Now you are required to update this snippet with following:
and in addition you just need to enable following to pass execution context at the time of adding event to form, and you are done with updating library.

~You are done; Happy Learning~

Comments

Popular posts from this blog

How to hide '+' on a subgrid in dynamics CRM?

Get Rid off Pending Email Warning - Microsoft Dynamics CRM

How to Rename Status field options of an Entity in Dynamics CRM