Showing results for 
Search instead for 
Did you mean: 
Not applicable

Collection empty after response from



I'm taking a picture with powerapps and running a flow and writing back to powerapps.

My flow looks like this: 



In powerapps, I run the following: UpdateContext({conPhoto: Camera1.Stream});


The output is flow is like this: 



The collection is however empty. 



Can anyone assist here please?



Resident Rockstar
Resident Rockstar

First, check if 'conPhoto' has a value in there by looking at the variables and try to place it under an Image control to see if you have the image you took.

If so then try to remove ( ) surrounding your flow call, like

Collect(ColOCRText, DEV_BUSCARD.Run(conPhoto))

Look in your Flow if it has run and if your collection has a record now.  Still no record, then:

  • try to rename your collection and run it again
  • go to view - datasource, remove the flow connection, add a button and on the button.onselect go to flows to re-connect your flow.
  • See if your flow has the right schema and all the columns have a type specified and are required. (But if not you already should have an error while connecting your flow, so basically the option before this would break)

Hope this helps you fix this.




Not applicable

Hi Paul,


conPhoto has no value within the variables. 06_flow_power.JPG


I do see a picture here though in the captured image: 


I removed the () and all ran ok but still the collection remains empty. 



Resident Rockstar
Resident Rockstar



So the problem is at the start, so here UpdateContext({conPhoto: Camera1.Stream}); so lets try to fix this.

I think you need this on the Camera.OnSelect:

UpdateContext({conPhoto: Camera1.Photo});

.Stream sounds like a video stream instead of a Photo I would think.


Not applicable



You can use the stream option when using a button to take the photo. So just to simplify it, I just have this on select for the button: UpdateContext({conPhoto: Camera1.Stream})



This is the result in the variable part: 08_flow_power.JPG


Not applicable

HI Paul,


Just an update here, it all runs fine on my laptop. Grabs the photo and the collection from the flow is also visable. 

So the issue is with my mobile phone? Any tips on that?


Thanks again



I did some test on my side and it seems that it just not possible to do. I would think you should be able to do



With this you should tricker the onselect property of the Camera control. Then on the camera you should be able to crab your photo on the camera.onselect. like:

Collect(_Photos, Camera.Photo)

This should work like it does on other controls, but It doesn't. So basically this is a limitation or a bug in the camera control.

I would advise you to just add a label instead of the button and tell the user to click the camera control itself.


I took the liberty to post an Idea on the bugs, see Maybe you could support this, so the PowerApps team can fix this.


Greating Paul

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (3,393)