Posts

Custom Connector for Power Automate Flow.

Image
Hello Guys, In our previous  blog  we have seen some JavaScript stuff for hiding Command Bar based on Security Roles. Today we are going to create custom connector for Power Automate Flow. While working with Power Automate Flow, we have used many inbuilt string, array and date functions in formula like concat(), adddays(), createArray() etc. These various functions are used to achieve functionality as per our requirements.  Consider a scenario where we need to validate phone number using power automate flow or we need to round some floating values at some extent then we are not able to do the same. To validate phone number using Regex or to round number using Math functions are available in C#. But now the question is can we use those C# functionality here in Power Automate Flow? Then answer is Yes. We can create our own custom connector to bridge the gap with missing functionalities. Let's see how to do this. Visit  https://make.powerapps.com  and select your e...

Hiding Command bar in Model Driven Apps based on Security Roles.

Image
Hello Guys, In our previous  blog  we have seen how to send an email using Power Automate Flow but without Email Templates. Today we are going to explore some JavaScript stuff for hiding Command Bar based on Security Roles. But before d o 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 command bar. Basically Command Bar is a collection of controls or buttons which are used to perform various transaction like create a new record, Saving existing record, Deleting existing record, refreshing the entity etc. As you can see in above image we have Command Bar which is having various controls like New, Save, Delete, Deactivate etc. Consider a scenario where you have a requirement of hiding this command bar based on security role so that logged in user can not perform any operation. In this situation we will be using Client API Object model. We will us...

Send an email using Power Automate Flow.

Image
Hello Guys, In our previous  blog  we have seen how to send an email using the same template using MS Flow. Today we will see how to send email using Power Automate Flow but without Email Templates. But before d o 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 have already selected our environment and created a solution named "Blogger".  Click on New and select Cloud Flow. We will trigger this flow when a new employee record will be created. Specify the Name of the flow and search "When row is added" and select the step. Configure the first step as shown below: Add a new step and initialize one variable as shown below: Add a new step and search "Get row by id" and configure the step as shown below: Now add a new step and search Compose. Configure the step as shown below: Here in above step we have used formula for Marital Status and Gender: if(equals(triggerO...

Send an email using the Email Template and Power Automate Flow.

Image
Hello Guys, In our previous  blog  we have seen how to create Email Templates for Custom Entities. Today we will send an email using the same template using MS Flow. But before d o 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 have already selected our environment and create a solution named "Blogger".  Click on New and select Cloud Flow. We will trigger this flow when a new employee record will be created. Specify the Name of the flow and search "When row is added" and select the step. Configure the first step as shown below: Click on New Step and search "List rows" and select the step. Configure the step as shown below: Click on New Step and search "Perform an unbound action" and select the step. Here we need to provide below detail for configuring the step. Action Name: Select SendTemplate from the list of actions. Template Id: GUID of the Em...