Category Archives: Development

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 »

Programmatically create folders and upload files in SharePoint Server 2013 through Plug-in/Workflow

Introduction: Dynamics CRM has native integration with Sharepoint so that Sharepoint can be used as the document management tool for Microsoft Dynamics CRM. The Document management integration however is restricted to associating Dynamics CRM Records to Sharepoint folders and displaying them from within Dynamics CRM. All files need to be uploaded manually by the user… Read More »

Make Cross Domain Web Service Request through Client Side Scripting in Dynamics CRM

To perform CRUD operations with CRM data at client side we use ODATA and SOAP services of Microsoft Dynamics CRM. We use XMLHttpRequest to send request to these services to get the response. Microsoft Dynamics CRM provides below WCF services that we used to manipulate CRM data, Organization Data Service – Protocol:  OData (REST) http://<server>/XRMServices/2011/OrganizationData.svc/… Read More »

Using LookupSet in SSRS reports to show activity parties related to an activity in Dynamics CRM

There are so many features of SSRS reports which are very less used but they can play a vital role in our report performance and productivity. One such feature of SSRS reports is LookupSet. SSRS Definition:  As per SSRS documentation a LookupSet may be defined as: Use LookupSet to retrieve a set of values from… Read More »

Passing special characters For Odata request using JavaScript in Dynamics CRM 2015

To retrieve records from Dynamics CRM using JavaScript one of the popular options is using CRM Odata services using REST endpoint. There are many situations occurs when we need to retrieve records from CRM by name using REST retrieve multiple request. For example in below script we are retrieving products by product name. While passing… Read More »

Price List selection logic available starting Dynamics CRM 2015 Update 1

Introduction Traditionally Price List in any of the transactions like Opportunities, Quote, Orders or Invoices was set by reading it from Customer. If there was no price list set for the customer, it would be left blank and the user would be required to set it manually. Price List is critical and needs to be… Read More »

Set Address using Lookup Address for locked Address fields in Dynamics CRM

Recently, we had a request, the request is like this, Bill-To address and Ship-To address on the Quote would be locked fields. This means, one way of setting the Bill-To and Ship-To is by using Lookup Address button. So, initially we thought it would be a Cakewalk. We wrote a script and called it on… Read More »