Category Archives: WEB API

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 »

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 »