Posts

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...

Creating Email Template for sending Emails for Custom Entities in D365.

Image
Hello Guys, In our previous  blog  we have seen how to create Email Templates. Today we are going to see how we can create Email Templates for Custom Entities. 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. Consider a scenario where we have one custom entity named "Employee" and we want to send an email to the employee for confirmation of their detail information provided by employee whenever a new employee record is created. To achieve this we need to create an email template first. First of all visit  https://make.powerapps.com  and select your environment and current working solution. Now click on New and select Email Template. This will open a new window.  While creating Email Templates we are selecting entities as shown in below: As you can see our employee entity is not visible. In this scenario we need to select "Global" option for working w...

Creating Email Template for sending Emails in D365.

Image
Hello Guys, In our previous blog we have seen how to call custom API and custom Function using Power Automate Flow. Today we are going to explore about Emails. 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. While working with D365 we come across many scenarios where we need to send E-mails like, Greeting mail, Confirmation mail, Follow-up mails etc. D365 CRM allows us to create Emails using Email templates. So let's see how to create Email Templates. First of all visit  https://make.powerapps.com  and select your environment and current working solution. Now click on New and select Email Template. This will open a new window. Select the Entity for which you want to create template. In our case we are going to select Lead and click on OK. Now specify the information as shown below: Click on Save and scroll down the window so that we can specify the content in the body...