Canvas app Task - Upload Files in share point using canvas app with power automate?

 Upload Files in share point using canvas app with power automate?

A) Step 1: Go to Power Automate (https://make.powerapps.com) and then Create an Instant Cloud Flow with Power apps v2 as a trigger.

Step 2 : In Power apps V2 Provide Input(Text Input) and File Content.

Step 3 : Now Take Variable and provide the type as string, Name as First Name and Value as Input.

Step 4 : For Output Take the compose and provide Inputs as File Context.

Step 5 : Create a Share Point and in documents create a folder Image doc.

Step 6 : Now in power automate Create a file in share point connector.

Step 7 : In Create a file for Site Address provide the link of Uploaded Images, In folder Path provide the path of the folder that you have created, File name as First Name and File Content as Outputs.



Step 8 : Now Send Email for that Select Send Email V2 from Outlook  


Step 9 : Go and create a blank canvas app then inside a canvas app insert a camera from media that will access your camera from canvas app.

Step 10 : Insert an Image down of it and set a Powerfx formula 

i.e., Image = Camera.Photo.

Step 11 : Insert a Text Input for name the clicked image.

Step 12: Insert a Button to Trigger the Power Automate and send the mail with Uploaded Photo.   

i.e., OnSelect = SaveandSendEmail.Run(TextInput1.Text,

{file:{contentBytes:Image1.Image,name:TextInput1.Text}})

    

Step 13 : Output In Share Point 



Step 14 : Output In Send E-Mail










Comments

Popular posts from this blog

If any case created, then check for the same user how many cases are created with in 30 days, if more than 2 and less than 5 send a mail to team lead, if more than 5 and less than 9 then send a mail to manager using power automate.

Create approve & reject ribbon buttons, once click on approve it should change the status field to approve.If clicked on reject it should change to Reject. Based on status field change trigger work flow to send a email to stating request is approved/Rejected.

How to get and set values in plugins?