PowerApps – Camera vs Add Picture and get your images to your Flow

Within PowerApps there are a number of controls that handle images.

Using these controls I created an app that gives the user the options to upload a picture using the Add Picture control or take a picture using the camera control.

Then using 2 Image controls I’m copying the image form the camera with the expression:


and the image control for the uploaded photo is set to:


All is looking good and I’m happy that I’m able to set the image control to the images uploaded and taken by my camera. However I tried to send these images to Flow and then I noticed something weird. The Camera sends the actual image binary data to the Image control where the upload photo does not. The upload photo gives me a url alike text.

To proof my point I added two labels to my screen. Each of these would display Image1 or Image2 and shown below you can see the difference:

This is not good! The image control seems to be happy with either format of the image, but my Flow is not!

When I looked around in the PowerApps community I found my friend, Paul Culmsee’s post, about taking picture with a camera and sending them to Flow, but I haven’t managed to find a post about the add picture control doing the same.

So far I’ve not found a solutions for receiving the uploaded image in Flow. So far the best solution that I’ve found comes from John Liu, but fiddling with triggers is not something that should be needed.

There is however a reasonable way around the problem. The Attachments control will let you upload files.

This Attachments control is opening doors as I can now create a form with my attachment control and a submit the images as an attachment. Ok, it is not as pretty as the add a picture control, but at least it will work. Ok, you migth not end up with the binary data going to SharePoint, but you can get the URL of the attachment which a flow can extract for you.






2 thoughts on “PowerApps – Camera vs Add Picture and get your images to your Flow

Please leave a comment or feedback

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.