Apurv's Dynamics 365 Blog

Code Samples & Troubleshooting Tips on Dynamics 365!

Jscripts snippets for CRM 2011

I have tried to outline couple of examples that you could use in CRM. These examples are based on Xrm patterns which tells you how you can utilize the resources available in better way. These are newly introduced in CRM 2011. The whole idea is to put together a set of common functions as an… Read more

Formatting Telephone Numbers (CRM 2011)

This post talks about formatting phone number is US style. The code already available in CRM v4 SDK Guide, however I have re-written the same thing in CRM v2011 model. It only part of code which is different here in the usage of context class available in XRM pattern. function validatePhone() {  var phone =… Read more

Implementing authentication using CRM v4 SDK

This post will talk about the various methods used in authenticating with CRM using its Sdk. I will also explain the usage of each method and property. There are various modes in which authentication in CRM can be performed. Active Directory Live Authentication SPLA The below code describes the authentication done with CRM On-Premise version…. Read more

Create your custom web service and integrate with CRM 2011 Online

I hope this article can help you understand when you need to create a middleware between CRM system and a Legacy system/or custom application.The below example talks about the “contact” entity where the web service accepts the “lastname” attribute of it and inserts the same into CRM system. The end result is the guid which… Read more