Category Archives: Dynamics CRM

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 »

Customizing the IFD Sign-in Pages for Dynamics CRM

Introduction: An on-premise deployment of Dynamics CRM can only be accessed from within the intranet. If you would like to provide access to your on-premise Dynamics CRM to your team from outside the corporate network, you need to make this available externally over the internet. To do this, you need to configure IFD (Internet Facing… Read More »