Tag: Json

Business Events: Custom Payload (IV)

As you know (I hope 😅), a few days ago we presented a session about Business Events for Developers at DynamicsCon. In this session, we were talking, among other things, about how we could customize the payload of the Business Events that we expose to the outside, to give them a different structure than the one that comes by default, and being able to reuse all the functionality that Dynamics F&O brings OOB. At the end of the demo, we had a few minutes of live Q&A, and one of the assistants (J.C.) made a question related to the part […]

+Info

Business Events: Custom payload (III)

This is the third and last article in which we are going to talk about how to send a JSON with a custom structure through Business Events. In the previous article we saw a possible way to identify those business events that should undergo this new structure through the event catalog. Today, we will finally see how to modify the structure of the message sent for these events. Modify the structure of the JSON sent through Business Events The first step is going to be defining the data contract to comply with the JSON format that we need to generate. […]

+Info

Business Events: Custom payload (II)

In the previous post we were talking about a solution that would allow us to customize the content and structure of the payload that is sent through Business Events drastically, so that we are able to adapt to a JSON format different from the standard of #MSDyn365FO, all this while still using the full power of this framework. Now, let’s move on to see in more detail the steps taken to reach this solution. As we mentioned in the last post, we will divide this solution into two different parts: Identify the events that must comply with the new format. […]

+Info

Business Events: Custom payload (I)

The purpose of this article is to talk about the posibility of changing the format or the structure of the JSON that is sent through a Business Event in the least intrusive and more reusable way possible, allowing at all times to use the power and robustness of the Business Event framework. I am currently participating in a project with a large number of integrations between different tools. In this project, it has been decided to use an Azure Service Bus Queue to manage the different events that each and every one of the tools generates. Due tu this large […]

+Info