Posts

Showing posts from October, 2020

Using Canvas application in Model Driven App.

Image
Hello Guys, In our  previous blog  we have seen how to call MS Flow in canvas application. Today we will see how to make a call canvas application in Model Driven Application. 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. To call canvas application in model driven application we need to create one button on entity first. For time being I have already created this button named Upload Files on Contact entity using Ribbon Workbench. Now navigate to  https://make.powerapps.com  and click on apps. Select your app and click on three dots(...) and select details. Copy web link url and keep it somewhere. Now we will be creating a web resource of JScript type which contains code for calling canvas application. Create one JScript web resource and copy and paste below code in that resource. This function will be called on click of Upload Files button. Now open canvas application....

Calling Microsoft Flow in Canvas application.

Image
  Hello Guys, In our previous blog  we have seen how to make attachment control visible in canvas application. Today we will see how to make a call of MS Flow in canvas application also how to upload files using MS Flow in SharePoint site. 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 example which we have used in our previous blog. As you can see in below image we have already added an attachment control to the screen and changed the back color of the screen. Now we will be adding one button on the screen. On click of the button we will be uploading files which are available in attachment control. Now we will declare two variables which are used for set Entity name and Record GUID of the entity. Select the screen and select its On Visible event and write below formula. Here for demonstration purpose we are using contact entity and have created o...

How to make attachment control visible in power apps for uploading documents in SharePoint.

Image
Hello Guys, Today we are going to learn one of the important trick which is useful in uploading files in SharePoint. 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. Many of us have worked on documents management where we need to upload documents in SharePoint using an app. It can be your canvas app or model driven app. While working with model driven app we are having upload button on Document grid by which we can upload documents in SharePoint. Consider a scenario where we need to upload document using canvas app. In this scenario we do not have any button or control like upload in canvas toolbox because of some limitation . We will see how we can use attachment control in Canvas app. Navigate to  https://make.powerapps.com/  and select your environment. Click on canvas app from blank and configure it as below. Now if you search attachment control in Insert menu, you wont get it....

Avoid switch case failure with coalesce in Power Automate.

Image
  Hello Guys, In our previous blog we have seen how to use Switch Case with Microsoft Flow. Today we will see how we can avoid switch case failure using coalesce function. But before 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. we will be working with same flow which we have used in our previous blog . As you can see we have our flow. we can run it by providing Entity Name as input and it will run successfully. What if we don't provide any input and click on run. So let's check it. We need to do some changes in first step.  Expand the first step and click on three dots and select Make the field optional. Save the changes and run this flow without providing an input. As you can see in above image our flow got failed at switch case step. It got failed because the value which was passed to the switch case for evaluati...

Using Switch case in Microsoft Flow.

Image
Hello Guys, In our previous blog we have seen data operation like Parse JSON and Select. Today we will see how to use Switch Case with Microsoft Flow. But before 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. We all know what is switch statement and we have implemented it many times in various programming languages like C#, VB, Java etc. Basically we are using switch statement where we have multiple conditions to be checked.  A switch statement allows a variable to be tested for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each switch case. In our previous  blog  we merged data of three entities and stored it into an array. Now we will take an input from the user for which entity we have to merged data and store it into an array. Base...