Category Archives: Dynamics CRM 2016

Execute fetchxml using Web API in Dynamics CRM 2016

Introduction Microsoft Dynamics CRM Online 2016 Update and Microsoft Dynamics CRM 2016 (on-premises) introduced new concept called The Web API. It can be used across a wide variety of programming languages, platforms, and devices. The Web API implements the OData (Open Data Protocol), version 4.0, an OASIS standard for building and consuming Restful APIs. Basically… Read More »

Design Auto Complete Text controls in Dynamics CRM 2016

Introduction: On Dec 1st Microsoft released another great version of Dynamics CRM – CRM 2016 that has loads of new features and not to forget developer enhancements too. One of the developer enhancements added to Dynamics CRM 2016 is “Auto Complete” which allows us to provide auto complete feature for the single line text fields.… Read More »

Error Upgrading CRM 2011 On-Premises to CRM 2013 On-Premises

We were upgrading Dynamics CRM 2011 On-Premises to CRM 2013 On-Premises. As every CRM developer would be aware that CRM upgrades are never a smooth sailing ride. We stumbled upon an error while importing organization in Deployment Manager. The error we came across was, Violation of UNIQUE KEY constraint ‘UQ_LocalizedLabelCheck’. Cannot insert duplicate key in… Read More »

Identify the trigger for an On-load event for Sub-grid in Dynamics CRM

Introduction: With CRM 2015 SP1, the Client API was extended to allow attaching events to sub-grid to manage the sub-grid data/operations. The OnLoad event however executes on all of the following operations Load of parent form. Save of parent form. Add a new record in sub-grid Remove a record from sub-grid Navigating to prev/next page… Read More »

Use RetrieveDuplicateRequest in Dynamics CRM

Introduction: Recently we had a requirement where we had to create Contact records from data received from other System and if Duplicate record found then avoid creation of records based on Duplicate Detection rules specified in the System and get the List of the Duplicate Records found in the system. The Duplicate Detection rules might… Read More »

ExecuteMultiple & Workflow or Plugin Assemblies

Introduction: ExecuteMultipleRequest – Message that allows you to club multiple CRM operations and execute them at one go without having to send each of these as separate requests. The ExecuteMultiple provides you with the option to indicate whether you want to continue processing the remaining requests if one of them fails or to stop processing. But… Read More »

Creating Calendar rules with Breaks in Microsoft Dynamics CRM 2015

Introduction: Microsoft Dynamics CRM has comprehensive Calendar management capabilities to manage work schedules. You are allowed to not only specify the work hours but also the break times when the resource would be unavailable. Here we are demonstrating how to add breaks to daily work schedule programmatically. Calendar and Calendar rules entities in CRM are… Read More »

API functions to control Subgrid behavior starting Dynamics CRM 2015 Update 1

Introduction: Prior to CRM2015 update 1 the only available function for interacting with the subgrids on the form was refresh(). This function is used to refresh the sub-grid records. With the release of CRM 2015 update 1, more functions were introduced to interact with the sub-grid using JavaScript. Function list: 1. addOnLoad 2. removeOnLoad Use… Read More »