Tag Archives: Web API

Execute Action with ColumnSet(ComplexType) type parameter Using Xrm.WebApi.online.execute in Dynamics 365 CRM V9.0

Introduction Microsoft has introduced Xrm.WebApi.online.execute to execute an action in Dynamics CRM version 9.0. In our last blog we have seen how to Execute action using Xrm.WebApi.online.execute in Dynamics CRM. In this blog we will see how to execute action with “ColumnSet(ComplexType)” type property. Here we are executing “GenerateQuoteFromOpportunity” action for sample purpose as this action contains… Read More »

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 »

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 »

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 »

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 »