Category Archives: WEB API

(Solved) Paging cookie issue in FetchXML – Dynamics 365

Recently while working in Dynamics 365 CRM we were facing the strange issue while retrieving more than 5K records using Web API with FetchXML The issue was when we retrieved more than 5K records using Web API with FetchXML, it was returning the same paging cookie all the time as shown below.

Because of… Read More »

Use WEB API Batch Request in Dynamics 365 to execute long FetchXML

Introduction: Recently we had a project where we use WEB API for retrieve the records from Dynamics CRM. In our project, we dynamically create FetchXML to retrieve records but sometimes Fetchxml have a lot of columns and conditions etc so its length get increase and we this the fetchxml in URL which violates the browser… Read More »

Dynamics 365 v9.0: Xrm.WebApi – Operations Part – 2

Introduction: In our previous blog, we have discussed about performing CURD operations Create, Update, Delete and Retrieve using Xrm.WebApi. In this blog, we will discuss Retrieve Multiple and Execute Actions. Let’s explore about these operations one by one. 1. Retrieve Multiple:  Retrieve multiple is used to retrieve more than one record from MS CRM. Suppose… Read More »

Fixed – Executing Action with Complex Output Parameters through Web API in Dynamics 365 v9.0

Introduction:        While working on Dynamics 365, we get a chance to work on lot many things. At times you work on C# or JavaScript or SSRS or SSIS. Having knowledge of so many languages, frameworks, or technologies could be taxing. Sometimes we face errors while developing something and don’t have control over how it could… Read More »

Reading ‘Set Personal Options’ user settings and applying it on Number and Currency Datatype Fields

Introduction: Microsoft Dynamics 365 allows the user to customize the formatting of Number, Currency, Date and Time datatype fields that are used on Entity Forms (For example, Annual Revenue field on the Account entity form). Formatting the Number and Currency datatype fields: The user can format the datatype fields by simply navigating to Settings >… Read More »

Execute Action with “EntityCollection” Parameter using Web API in Dynamics 365

Introduction Recently, we had a requirement where we wanted to Execute Custom Action in Dynamics CRM by passing “EntityCollection” type parameter using Web API. We have discussed how to execute the action using Web API in one of our earlier blog. However, in this blog we just explained executing action with string parameter. Here we… Read More »

Execute Workflow using Web API in Dynamics 365

Introduction: In every release, Microsoft comes up with some new and interesting features. With this Dynamics 365 release, the WEB API platform has been enhanced further. Microsoft has introduced many actions using Web API. Here we will see one of those new actions introduced in Dynamics 365 i.e. “ExecuteWorkflow”. Until Dynamics CRM 2016 Update 1… Read More »

Execute the Global Action Using Web API in Dynamics CRM

Introduction: We have already discussed how to perform entity specific custom action using Web API in one of our earlier blog. But when we want an action to be performed on multiple entities, we need to create a global action. Create global action:- Go to Settings → Processes → Click New then select category as “Action” and entity… Read More »

Retrieve, Update and Delete Record Using Alternate Key in Dynamics CRM Web API

Before Alternate key concept was introduced in Dynamics CRM it used to be the only GUID of the record which was used to retrieve, update or delete any record. Hence we had to get the record GUID first for any retrieve, update or delete operation. But with the introduction of Alternate keys concept this overhead… Read More »

Execute Web API request using Angular JS in Dynamics CRM

Introduction In our earlier blogs of  Web API introduced in Dynamics CRM 2016, we have explained different requests and functions of Web API to querying and performing operations in Dynamics CRM. This blog will show you how to execute Web API request using Angular JS. This article would be helpful for those who have knowledge of… Read More »

Web API Enhancements in Dynamics CRM Update 1

Introduction: Microsoft Dynamics CRM 2016 introduced a new concept called Web API which can be used across wide variety of devices, programming languages and platforms. With the release of Update 1 for CRM 2016, few enhancements were added in this. In this blog, explained about Enhancements of Web API which is more helpful for the… Read More »

Executing Predefined Queries in Dynamics CRM using Web API through Scripts

Introduction: What do you mean by Predefined Query? System Views created in the CRM contains an inbuilt query which displays the results satisfying the Query mentioned in the view. For e.g. “Active Contacts” an OOB system view. Also, Users can create their views in Advance Find by specifying their criteria’s and save it giving any… Read More »

Set Values of all Data Types using Web API in Dynamics CRM Through C#

Introduction: With the release of Microsoft Dynamics CRM 2016, Web API which was introduced offers a development experience across many devices, languages and platforms. In this blog we will take a look at how to set the all the datatypes in the CRM using C# through a windows application and using Web API. You may… Read More »

Programming using WebAPI through C# in Dynamics CRM 2016

Introduction: Stepping towards the enhancement, Dynamics CRM 2016 introduced ‘Web API’ as the new concept which delivers a unique development experience across a wide variety of programming languages, devices, and platforms. We have earlier explored using WEB API through scripting from within Dynamics CRM environment in this blog. We noticed quite a few queries coming… Read More »

Impersonation available using WEB API in Dynamics CRM 2016

Introduction: Microsoft Dynamics CRM online 2016 update and Dynamics CRM 2016 (on-premises) has introduced a new concept called the Web API. This can be used across a wide variety of programming languages, platforms, and devices. One of the features of Web API is Impersonation. Back in the days of CRM 4, Impersonation through scripting was… Read More »