Tag Archives: Web API

How to Perform Basic CRUD Operations using Offline Web API in Mobile Clients

Introduction Microsoft has provided offline ability to use “Dynamics 365 for phones app” or “Field Service (Dynamics 365) App”. Mobile Offline allows users to work with the data in offline mode as well i.e. when they are not connected to the internet. So, in the offline mode, if we want to create or manage the… Read More: How to Perform Basic CRUD Operations using Offline Web API… »

Execute Different Web API Operations using PowerApps Portals (Preview)

Introduction In the recent release, Microsoft has provided the ability using which we can perform different CRUD operations using Portals WEB API. The operations will run at server-side and are similar to Dynamics Web API Operations but the difference is in the way it is written and called in PowerApps Portals. If you have a… Read More: Execute Different Web API Operations using PowerApps Portals (Preview) »

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 Action with ColumnSet(ComplexType) type parameter Using Xrm.WebApi.online.execute in Dynamics… »

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: Execute a workflow using Xrm.WebApi.online.execute method via JavaScript in Dynamics… »

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: Use WEB API Batch Request in Dynamics 365 to execute… »

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: Execute Web API request using Angular JS in Dynamics CRM »

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: Executing Predefined Queries in Dynamics CRM using Web API through… »

Querying data in Microsoft Dynamics CRM 2016 using Web API

Introduction: With Microsoft Dynamics CRM 2016, Web API that was in Preview for CRM 2015 is now GA. Web API is really OData V4 which is the later version of OData V2 that was implemented in earlier versions of CRM until CRM 2015. With CRM 2016, OData V2 is deprecated, this means that though the… Read More: Querying data in Microsoft Dynamics CRM 2016 using Web API »