Showing posts from May, 2016

Microsoft Dynamics CRM 2013 vs. Microsoft Dynamics CRM 2015

Features CRM 2013 CRM 2015/2016 User Interface Ribbon Bar is replaced by top Command Bar CRM functional groups are now at the top of the CRM home screen. No popup windows Top Command Bar CRM functional groups are now at the top of the CRM home screen. No popup windows More space for customer data Duplicate Detection Rule Removed Removed Business Logic/Rules Introduced. Enhanced. Complex condition branching added. Adv Find Under, Not-under filter not present. Under, Not-under filter criteria is introduced. Social Enterprise Collaboration Introduced. Users can participate in social conversations directly within Microsoft Dynamics, through the Yammer web and desktop applications as well as apps running on Microsoft (Windows Phone), Apple (iOS) and Google (Android) mobile devices.

Post XML over HTTP and capture the response – C#

Recently we got a requirement to post the data from ‘CRM Plug-in’ to an external API and capture response. External API was built as XML over HTTP (i.e., Its not a SOAP based and no WSDL).  In this approach we post the Request XML to a URL and in return we will get the Response. public static string PostXMLData(IOrganizationService orgService, ITracingService tracingService, string obmXMLString, string url, string userName, string password)         {             tracingService.Trace("Creating WebRequest Object." + url);             WebRequest myWebRequest = WebRequest.Create(url);             tracingService.Trace("Completed creating WebRequest Object." + url);             tracingService.Trace("Setting WebRequest Object -> Method property.");             // Set 'Preauthenticate'  property to true.  Credentials will be sent with the request.             tracingService.Trace("Setting Preauthenticate to true");  

JavaScript Intellisense in Visual Studio for Microsoft Dynamics CRM 2016

Intellisense in Microsoft Visual Studio is great feature to speedup development as it can suggests the method name, parameters, data type and hint about the method functionality and parameters use. With Intellisense we don't have to lookup in the documentation and is great time saver for the developers. MSXRMTOOLS.Xrm.Page.2016.js  provides similar capability in JavaScript for Microsoft Dynamics CRM 2016. MSXRMTOOLS.Xrm.Page.2016.js   provides following benefits for the Dynamics CRM developers: Complete methods coverage available in Dynamics CRM 2016. Suggestions for methods available in Xrm.Page namespace so that developers don't have to look up in SDK for available methods in Dynamics CRM 2016. Hint about the methods functionality available  while typing. Hint about each of the input parameters i.e. the intended purpose of each  of the parameter while typing. Shows the data type of input parameters and output value. Hint about the possible input values whereve