cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hunterxue
Level: Power Up

How to upload image to OneDrive or sharepoint online.

I can take photos in PowerApps, but I don't know how upload them to OneDrive, SharePoint Online or somewhere other users can access them. 

Any suggestion? Many thanks. 

14 REPLIES 14
Power Apps Staff rekenliu
Power Apps Staff

Re: How to upload image to OneDrive or sharepoint online.

Hi,

 

You can use Microsoft Flow to upload the image to SharePoint Online. Please choose the following flow template.

flow.png

In the flow definition, specify your SharePoint site address, and the folder path where to store your pictures, and then in PowerApps, insert a button. In the OnSelect event of the button, choose your flow, and specify the image name and content. The image will be uploaded to the destination folder successfully.

 

Thanks,

Reken Liu

hunterxue
Level: Power Up

a, Re: How to upload image to OneDrive or sharepoint online.

Great idea! I will try this later, many thanks for your seggestion. 

Highlighted
MRCL
Level 8

Re: How to upload image to OneDrive or sharepoint online.

I tried using flow, but the content of the image is not uploaded. Only the file name and it seems like the url of the image as text. With photos taken from the app, it is the same. Any help is welcome.

MRCL
Level 8

Re: How to upload image to OneDrive or sharepoint online.

Can you tell me what you used as content? I cannot make it work. A lile is uploaded but with text as content.

cafee888
Level: Powered On

Re: How to upload image to OneDrive or sharepoint online.

any updates on this?

 

I too am having empty content in files

Guillermo
Level: Powered On

Re: How to upload image to OneDrive or sharepoint online.

How send content type, i send a name of the file but i dont know how send content type

Microsoft AntoineJ
Microsoft

Re: How to upload image to OneDrive or sharepoint online.

Hi Guillermo,

 

 

Did you managed to send the file content?

 

 

Thanks

Guillermo
Level: Powered On

Re: How to upload image to OneDrive or sharepoint online.

Hi Antoine, not jet... You?

RafaelNunes
Level: Power Up

Re: How to upload image to OneDrive or sharepoint online.

I cannot see the "Flow"  button under Actions when a button is selected. I've already created the Flow, but I still cannot see it. Perhaps my tenant does not have this feature yet?

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (4,813)