cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Santhosh72
Frequent Visitor

Take Photo and Upload to OneDrive

Hi,

Is it possible to create a powerapp to Capture a photo and upload to Onedrive. I was able to get this done on sharepoint but dont know how to take photo and upload to OneDrive.

 

Thanks

Santhosh

2 REPLIES 2
Super User
Super User

Re: Take Photo and Upload to OneDrive

If you have done this using SharePoint then all you need to do is add the OneDrive data source to your app and change the code to use OneDrive.



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Community Support
Community Support

Re: Take Photo and Upload to OneDrive

Hi @Santhosh72 ,

Do you want to upload captured pictures to one drive in powerapps?

If so, I've made a similar test for your reference:

1)create an excel file , insert a column named Image[image]

format data in excel as a table

upload this excel file to one drive

2)connect your app with the excel table in one drive

3)insert a camera control, set the camera's OnSelect:

Patch(FlooringEstimates,Defaults(FlooringEstimates),{Image:Camera1.Photo})
//FlooringEstimates is my excel table name, you could replace with yours

Then this column will be updated with data like this:

appres://datasources/FlooringEstimates/table/....

That is not picture file, it is just relative road strength.

 

When you update this field, system will create a folder automatically named FFlooringEstimates_images

(exceltablename_images).

All the images that you upload to this excel table will be stored in this folder automatically.

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (6,105)