Taking a photo with a Power App and saving to OneDrive

preview_player
Показать описание
A walkthrough of how to create a basic Power App that takes a photo using the camera on a device and then saves this to OneDrive.
Рекомендации по теме
Комментарии
Автор

Wow Thanks!! I've been trying to get this to work for 2 days thank you for the tutorial!!

nicholasstenquist
Автор

somebody asked how to add new photos, this my question too but I want to add one more thing to my question. How I change of the photo name using by spesific date & time. Thanks.

iremkok
Автор

At 5.34 i could see on your face you were perplexed by why it displayed the same photo you took earlier. Me too. Some of this Power App stuff is not intuitive at all. You escaped to One Drive, then rerturned and it took a different photo. Selecting different webcams is a nightmare too. Where can we learn the commands that Power Apps uses? Thanks

manfromnantucket
Автор

Hmmm, maybe a whole lot has changed since this video. I finally got it to work with this code in the Power App: Set(str, JSON(Camera1.Photo, JSONFormat.IncludeBinaryData));
Set(str, Right(str, Len(str)-23)); //trim the front of the string to remove "data:image/png;base64,
Set(str, Left(str, Len(str)-1));SavePic.Run(str) //trim the final " off the end of the string

Then in the flow there is no "Ask in PowerApps" so I had to add a text input to the PowerApps (V2) trigger.
Finally this expression in the compose step:


MarkPlumpton
Автор

I would like to add pictures to my one drive but I need a formula so that I can add multiple images and have the file names change. any help here?

HunterLake-eh
Автор

It doesn't work on my phone but it works when previewing in computer . Why do you know?

begumdost
Автор

Thank you, I can add name for the picture?

vitordigitizing
Автор

How do you then retrieve the photo to show it on a View Screen?

pabeader
Автор

Does anyone know how to set it up such that if you take another photo, it creates a new file name like, "me pic 1.png" instead of overwriting the current pic. Thanks

CliffTam
Автор

instead of overwriting the photos that was already in OneDrive. can you show us how to add new photo

Jasper-yp
Автор

instead of overwriting the photos that was already in OneDrive. can you show us how to add new photo

kristoffercaumban