Posts

Showing posts from September, 2020

Using Try, Catch and Finally in Microsoft Flow.

Image
  Hello Guys, Today we are going to learn how to implement Exception Handling in Microsoft Flow. If you are new to MS Flow then please read my this  blog . 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. As being a Software Developer, we all know about Exception handling as we all have implemented in various programming languages like C#, Java, Python etc. This mechanism is used for handling errors which occurs during the program execution using Try, Catch and Finally statements. While running a flow we have faced many situation where our Flow fails due to some error and because of that some steps of flows are getting skipped. We want some mechanism here also where we can handle errors and make the flow run successfully. To implement Try, Catch and Finally in MS Flow we have the concept of Scope. Scope is similar to group actions which can be collapsed to make large workflow looking smalle

Using Microsoft Flow to create Zip of all the documents available in SharePoint site.

Image
  Hello Guys, In our previous blog we have seen how we can check which users are having SharePoint Document read permission once you share Record with another CRM user and with team. Today we will see how we create Zip of the documents available in SharePoint site. Before we start, if you are new to our blog then 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. In our previous blogs of SharePoint we have seen how documents are uploaded to SharePoint site through CRM. As you can see in above contact record four documents are uploaded. Same we can check at SharePoint site too as shown below. Now we will be creating a flow which will compress these all files and will be creating a zip file which will be stored as same location.  Navigate to  https://us.flow.microsoft.com  and select your environment. Click on create and select Instant Flow and configure it as below and click on create. Now cli

Using Microsoft Flow and SharePoint Api for checking Document Read privileges based on Team in Microsoft Dynamics 365.

Image
  Hello Guys, In our previous blog we have seen how you can check which users are having SharePoint Document read permission once you share Record with another CRM user. Today we will see the same concept but not with user, instead with team. Before we start, if you are new to our blog then 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. Also before start i will recommend to read my previous  blog . First of all we will be creating one named "Docs Team" and will add some crm users in that team as shown below. Now we will be login with one crm user named "Malishka Gupta" and will create one new contact and will upload one document for that contact. As you can see in above picture, we have created a contact named "Vihan Ranjan" and uploaded a document for the same. Malishka Gupta can see this document in SharePoint site as well. Now we will be changing the Owner