Showing results for 
Search instead for 
Did you mean: 
Level 8

Re: Camera Capture Button - Camera control not selected

That is the issue though.  You have to stream.  You cannot do it with .Photo.

Super User
Super User

Re: Camera Capture Button - Camera control not selected

@jhall  Right...for .Photo, you are assuming someone presses the control to take a photo and capture it.  So, Camera will have a photo in the buffer to use.

If you use .Stream, you can grab a photo at any point you want.


So, I apologize that I am not seeing the issue here.  

Seems that if you want the user to tap the camera for a photo, then they will defintiely be selecting it.  If you want to take a photo without selecting/clicking the control, then you use the stream.  Either way gives you the photo.

Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Level 8

Re: Camera Capture Button - Camera control not selected

Well, the main issue from the PowerApps team's perspective should be that no error is thrown and the DOCUMENTED setup does not work except in the exact manner described (clicking the photo).


I am unclear on the ramifications for .Stream vs. .Photo for size/transfer as I did not test yet but will tomorrow.

Level 8

Re: Camera Capture Button - Camera control not selected

If you want talk about photo size be sure to check out my other thread. It is device dependent and in some cases control size dependent. 

Level: Powered On

Re: Camera Capture Button - Camera control not selected

I solved the issue with Select().


Camera OnSelect property: false


Button OnSelect property: Select(Camera);;ClearCollect(Collection1; Camera.Photo);;UpdateContext({PhotoDateTime: Now()})


When the user clicks the button, the Camera control is selected and a photo taken.


Update: It seems like the user still has to click the Camera control before clicking the button so Select() didn't help either I'm afraid.

Helpful resources


PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

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


Join PowerApps User Group!!

Connect, share, and learn with your peers year-round


Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 288 members 5,018 guests
Please welcome our newest community members: