Requirement In this article we are going to discuss about calling entity bound action which have entity collection as parameter, we need to created this parameter from array list, while sending entity collection we need to send customer lookup as well, so let’s see how we can do that. Details Earlier, we discussed about calling out of the box actions… Read more »
Introduction In our earlier sample, we discussed how to call actions using Web API, today we are going to share sample code to execute workflow from command button using Web API. Requirement Let’s say we got some requirement to validate some logic on click of the command button and need to send email using workflow. Let’s see how we can do that…. Read more »
Some time back I wrote a post for retrieving image attached to notes using OData, as now for Dynamics 365 CE, we use Web API, so I am going to share how we can do it using Web API. Microsoft Dynamics CRM store all the notes and attachment in annotation entity. Most of the out of box entity used to… Read more »
Requirement: Get Optionset label based on optionset value using client side code. Solution: We have different option to implement this requirement. Earlier we wrote a post to get option set label using formatted values, today we are going to discuss how we can use stringmap to get optionset label using Web API. Stringmap entity store details about optionsets, it has… Read more »
We have written couple of articles about using Web API, which is a new way to work with Dynamics CRM 2016 and Dynamics 365/CRM data and metadata. Web API implements OData V4 and can be used for any operation that we can be done using organization service. If you are new to Web API following index can help you in… Read more »
Retrieving data based on primary id (Web API Retrieve Request) Retrieving data based on query (Web API Retrievemultiple Request) Creating entity record (Web API Create Request) Updating entity records (Web API Update Request) Deleting entity record (Web API Delete Request) Associate and Disassociate request (Web API associate and disassociate request) Getting Formatted Test for Option set Writing Web API Function… Read more »
In our last article we discussed new enhancement in Web API for create and update request. In this article we are going to discuss enhancement released to query metadata. Web API made it really simple to query your entity metadata now. If we need to query any entity metadata we can just specific entity logical name in our Web API… Read more »
Dynamics 365 released some new enhancements to Web API. If you are new to Web API, we will suggest you to refer our earlier articles for Web API. In this release create and update Web API requests are enhanced to return entity object after record created or updated. Let’s understand this enhancement using following create request example. Let say we… Read more »
In this article we are going to provide sample code for impersonating user using Web API in Dynamics CRM 2016. Impersonation is a process where user A can execute some business logic on behalf of user B. To use impersonation both user should have privilege to perform the action. For example if user A wants to impersonate user B while… Read more »
In our last web API articles, we discussed about using web API actions, today we are going to discuss about calling our custom actions using web API. If you are new to action you can refer this KB to know about actions. Let’s take a scenario that we want to design one action for our custom event entity to approve… Read more »