In the previous post, we saw how to invoke webhook using custom global action and passed plugin execution context to the webhook. In this last post of this series, we'll see how to execute custom global action from JS on form load. Using CRM Rest Builder, we can get the HttpRequest for executing action which … Continue reading D365: Azure Durable Function with D365 CE – Part 6
Month: October 2019
D365: Azure Durable Function with D365 CE – Part 5
In the previous post, we saw how we can register webhook for the azure durable function. In this post we'll see how we can use custom global action to invoke webhook and pass plugin execution context to the webhook. Let's go to D365 instance and create a global action as shown below: We have passed … Continue reading D365: Azure Durable Function with D365 CE – Part 5
D365: Azure Durable Function with D365 CE – Part 4
In the previous post, we saw how we can parameterize Azure durable function and deploy it to Azure. In this post we'll see how we can register a webhook for the azure durable function using plug-in registration tool. From the last post, we have Azure durable function URL copied as shown below: Now, let's open … Continue reading D365: Azure Durable Function with D365 CE – Part 4
D365: Azure Durable Function with D365 CE – Part 3
In the previous post, we saw how we can implement durable function for CRUD operation in D365 and test it using Postman. In this post we'll see how we can parameterize durable function so that we can pass parameters from external system to durable function and process it further. Let's take a simple example as … Continue reading D365: Azure Durable Function with D365 CE – Part 3
D365: Azure Durable Function with D365 CE – Part 2
In the previous post, we saw how we created the default template of durable function. In this post, we'll modify that to do some CRUD operation in D365 CE. For demo purpose, let's pick a simple scenario i.e. Retrieve related records(accommodation payments) of a particular Contact record and update their field(Expected Refund Due Date a … Continue reading D365: Azure Durable Function with D365 CE – Part 2
D365: Azure Durable Function with D365 CE – Part 1
In this series of post, we'll see how we can use Azure Durable function(an extension of Azure Function which works on durable task framework) with D365 CE. We can find more details about Durable functions, it's application patterns, pricing and the way it works here: https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-overview. This series of post is divided into 6 parts:Part … Continue reading D365: Azure Durable Function with D365 CE – Part 1
USD 4.1: Implementing Click to call functionality for making outgoing calls
In this post, we'll see how we can implement click to call functionality i.e. clicking on a phone number field on the form to make outgoing call inside USD. NOTE: In our scenario, we have implemented custom CTI adapter to use web services of telephony provider to make the outgoing calls. Below are the steps … Continue reading USD 4.1: Implementing Click to call functionality for making outgoing calls
USD 4.1: Using CTI Simulator and Generic Listener
In this post, we'll see how we can use CTI simulator along with Generic Listener provided by Microsoft. To start, download the CTI simulator from the following location: https://onedrive.live.com/?authkey=%21AIN2jgKztrYGpok&cid=5A34CCE9728C8F4F&id=5A34CCE9728C8F4F%21274&parId=5A34CCE9728C8F4F%21169&action=locate. Unzip it. Open the solution file in Visual Studio and compile it. Open the Project folder. Navigate to bin--> Debug folder and locate the USDCTICallTester.exe as … Continue reading USD 4.1: Using CTI Simulator and Generic Listener
D365: ExecuteMultiple error EntityState must be set to null, Created (for Create message) or Changed (for Update message)
While working on bulk update recently, we got an error saying "EntityState must be set to null, Created (for Create message) or Changed (for Update message)" in the ExecuteMultipleResponse object. We were trying to update one attribute of a set of records and below is the piece code we were using to do bulk update: … Continue reading D365: ExecuteMultiple error EntityState must be set to null, Created (for Create message) or Changed (for Update message)
D365: Unable to delete entity having hidden dependency(with Canvas App)
Recently, we were trying to delete one entity(not that heavily customized) as we wanted to use a different attirbute as Primary field from what being currently used, in our DEV instance.We removed all possible dependency for deleting the entity by clicking on Entity -> Show Dependencies in the solution. After removing all the dependencies, when … Continue reading D365: Unable to delete entity having hidden dependency(with Canvas App)
D365: 0x80040203 Invalid Argument error below lookup field
Recently, we were working on applying lookup filtering using JS on a custom entity form. While testing it, we got an error on each key press on the lookup field "0x80040203 Invalid Argument". We were constructing the record filter criteria based on certain condition. While debugging the code, we found that the filter criteria(FetchXML filter … Continue reading D365: 0x80040203 Invalid Argument error below lookup field