Posts

Showing posts from February, 2024

Using changesets in Power Automate Flows for atomic transactions

Image
Hello Guys, In our previous  blog   we have seen how to create and use custom dialog boxes using HTML web resource. Today we will see how to use changesets in PA flow for atomic transactions. Do follow us to know more about Dynamics and Power Platform.  Also if you like our blog then please comment and share this blog with your friends. First of all we will understand what is atomic transactions. Basically Atomic transactions are the transaction where each transaction depends on each other. It means if we have two transactions and if one of them gets failed, then other also gets failed.   As we do Create, Update and Delete in D365 CRM, we need to ensure these transactions are atomic. If we talk about synchronous workflows then, if it gets failed then all transactions are rollbacked. In the same way we want some mechanism in MS Flow where we can achieve the similar feature.  We can use changesets in MS Flow to make transactions atomic. Let's see how to use it with an example: We hav

Using dialogs in D365 CRM using custom pages.

Image
Hello Guys, In our previous  blog   we have seen how to create and use custom dialog boxes using HTML web resource. Today we will see how we can implement dialog boxes using custom pages. Do follow us to know more about Dynamics and Power Platform.  Also if you like our blog then please comment and share this blog with your friends. We will be working with the same Table which is Deal. As you can see we have one Deal. Now we will be creating one button to approve the deal. We will display a popup window whenever user will click on the button. This popup will take input from the user and once submitted, it will change the Deal status to approved. First of all we will be creating a popup which is nothing but the dialog. To create popup follow below steps: Customize the Sales Hub App. Now click on Add Page. This will prompt a window as shown below: Select Custom Page and click on Next. Provide Name as shown above and click on Add. This will open a new Tab. Now we will be changing the Disp

Using custom dialogs in D365 CRM.

Image
Hello Guys, In our previous  blog   we have seen how to use solution component mover in D365 CRM. Today we will see how to create and use custom dialog boxes using HTML web resource. Do follow us to know more about Dynamics and Power Platform.  Also if you like our blog then please comment and share this blog with your friends. First of all we will understand what is dialog in D365 CRM? Dialogs contain pages, and each page can contain multiple sets of prompts and responses. For example, you want to approve the Deal and you want user to provide input as Yes and No then you can create dialog. Previously we were using OOB dialogs. Now OOB Dialogs are deprecated, and should be replaced by business process flows or canvas apps in Power Apps. Here we will create custom dialogs and will see how to use them.  Consider a scenario, where we have one Table named Deal as shown below: Now we want user to cancel the deal by clicking on button and we also want to capture cancellation reason and will