D365: Azure Durable Function with D365 CE – Part 6

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

Advertisements

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

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: Value cannot be null. Parameter name: attributeName

Recently, while trying to retrieve records in D365 CE using LINQ, we got the following error message "Value cannot be null. Parameter name: attributeName". There was not much information in the stack trace as well. We were using below code to get records based on certain condition from 2 entities putting join as shown below: … Continue reading D365: Value cannot be null. Parameter name: attributeName

D365: Add business day(s) to specific date considering weekends and public holidays

Recently, we got a requirement to add business days/working days to specific date considering weekends and public holidays defined in CRM system and get the next working day. Below is the workdays and working hours defined in the CRM system: Fridays and Saturdays are considered as week off. Below are the list of holidays defined … Continue reading D365: Add business day(s) to specific date considering weekends and public holidays

VS 2015: The “Team Foundation Server Provider Package” package did not load correctly

After installing VS 2015 on my machine, when i was trying to connect to TFS from Team Explorer, i was getting the below error message: The "Team Foundation Server Provider Package" package did not load correctly. As mentioned in the error pop up, i had a look at the ActivityLog.xml file in the path mentioned … Continue reading VS 2015: The “Team Foundation Server Provider Package” package did not load correctly

“The application has failed to start because its side-by-side configuration is incorrect” error while running console app(.exe)

While running a console app(.exe) by double clicking on it, we faced a weird issue and the exe was not getting executed. We were getting below error message in a pop up window: "The application has failed to start because its side-by-side configuration is incorrect". While checking the event log, we found that there was … Continue reading “The application has failed to start because its side-by-side configuration is incorrect” error while running console app(.exe)