Category Archives: API

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 »

Create or Update through a single request – Upsert in Dynamics CRM 2015 Update 1

Background: Traditionally, insert and update have always been separate requests in Dynamics CRM. The logic to identify whether a record has to be created or updated was always something the developers had to handle themselves. Once you have identified the action to perform, call the appropriate message. The API enhancements introduced in Dynamics CRM 2015… Read More »