Search Results for: Web API

Getting All Global Optionset options using Xrm.WebApi -{Quick Tip}

Requirement Recently we got one requirement where we wanted to get global option set values to show it over html page, I faced one issue of not getting all the option set after changing global option set. In this post I am going to share trick how to fix it, if you have same requirement this will help you. Details… Read more »

Fetching data based on date field using WebAPI

Introduction Are you looking for sample code to fetch data from Dynamics 365 CE using WebAPI ? if yes this post will help. We are discussing how to fetch data based on the datetime field from account entity. Look for our other WebAPI Samples here Requirement Retrieve accounts records which created on or before today’s date. Solution Write writing WebAPI… Read more »

Bad Request error while setting Single-valued navigation in WebAPI 8.2

Recently working on Dynamics 365 V8.2 environment, I faced “Bad Request” error in my create request and while I tried to debug the code, I found error: “An undeclared property ‘him_supplierid’ which only has property annotations in the payload but no property value was found in the payload. In OData, only declared navigation properties and declared named streams can be… Read more »

Creating Connection using WebAPI- {Sample Code}

If you are looking for sample code to create connection record using WebAPI for Dynamics 365 CE, this post will help you. I am creating connection record for opportunity, you can change lookups entity based on your requirement. Hope it will help someone !!

Implementing field mapping using Xrm.WebApi

In our last article we discussed Xrm.WebApi create, update and delete method. In this article we are going to provide sample code for using Xrm.WebApi retrieve method. Many times we required to setup field mapping between parent and child entities, for example let’s say we need to bring following information based on the account selected under contact entity. We can… Read more »

Using Xrm.WebApi in Dynamics 365/CRM

With the release of Dynamics 365 update 9.0, now we have a new library to implement WebApi methods using Xrm.WebApi. Instead of writing complete request, now we can just use direct CURD methods from WebApi. If you are looking for how to write WebApi for Dynamics CRM 2016, check our sample index here Xrm.WebApi have two properties to use for… Read more »

Dynamics 365 CE integration with Shopify using Webhook

Introduction In a previous article, we delved into valuable resources and integration options for Dynamics 365 CE and Shopify. Today, we will discuss integration process utilizing Shopify Webhook and Azure Function. Details As we are going to discuss approach for integration using Webhook and Azure function so let’s first understand what is Webhook and Azure Function. Webhook Webhook is based… Read more »

Get Option Set value based on label in Microsoft Flow

Introduction In this article, we will discuss how we can get option set value in Microsoft flow using string map entity. Requirement Let’s say we need to process one import file which will be available in one drive for business and we want to get option set value of relationship type label available in RelationshipType column. Solution In my earlier… Read more »

Virtual Entity – New way of integration Part 2

This is our second article regarding virtual entity, if you have not checked our earlier article, we will suggest you to check that first here. In this article we are going to demonstrate about create OData Web API without Entity Framework and hosting it in Azure to consume into Dynamics 365. Let say we have employees data that we want… Read more »

Dynamics 365 CE and Shopify Integration Options

Introduction For those familiar with Dynamics 365 Customer Engagement (CE), the opportunities for integrating it with various applications are well-known. When deploying Dynamics 365 CE for an organization utilizing e-commerce platforms like Shopify, the integration of these robust solutions holds immense potential to boost productivity and foster growth. Today, we will discuss about options to integrating Dynamics 365 CE with… Read more »