Category Archives: WEB API

Execute a workflow using Xrm.WebApi.online.execute method via JavaScript in Dynamics 365 CRM v9

Introduction In this blog, we are going to create a request using ExecuteWorkflow action and would execute the request that would execute a custom workflow. This approach would eliminate the need to create an Ajax request and is supported across web client, UCI and Mobile. For demonstration purpose, we have created a custom workflow. This… Read More »

One way to overcome “429” error (concurrent requests limit exceeded error) in Dynamics 365 CRM Web API

Introduction With JavaScript, we have real-time interaction with Dynamics 365. Microsoft gives us feasibility to use CRM Web API in JavaScript to perform operations such as Create, Update, Delete, Retrieve, etc. But there is a limitation on the number of API requests made by each user, per organization instance, within a five-minute sliding window. Please… Read More »

Retrieval of Many-to-Many (N:N) Relationship Records using Web API in Dynamics 365

Introduction In this blog we will learn to retrieve Dynamic CRM entity records in respect of Many to Many relationships between two Dynamic CRM entities (OOB/Custom). So let’s take a look at the following example: In the below screeshot, there is one Many-to-Many relationship present between Account and Territory Entity of Dynamic CRM. One Territory… Read More »

Azure Functions, Web API, PowerApps and other tricks for Dynamics 365 CRM – Most Clicked Blogs of the Year!

Powered by passion – Inogic is a leading Microsoft ISV for Dynamics 365 CRM for over more than a decade. We brew innovative products and fuel Dynamics 365 with our range of solutions. Inogic also offers bespoke high-quality low-cost offshore development services for Microsoft products such as Power BI, Flow, PowerApps, Portals and others. Given… Read More »

Execute action using Xrm.WebApi.online.execute in Dynamics 365 CRM V9.0

Introduction: In this blog, we are going to explore the use of Xrm.WebApi.online.execute to execute an action in Dynamics CRM version 9.0 and then process its response which will be consistent across Web client, UCI, Mobile and Tablets. For sample purpose we would execute an Out-of-Box action named “InstantiateTemplate”. Solution: First of all, we would… Read More »

(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 occurred when we retrieved more than 5K records using Web API with FetchXML, it was returning the same paging cookie everytime as shown below. “<cookie page=”1″><fullname last=”D. DAVID” first=”FRAN HUANG” /><contactid… 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 »