Skip to main content Build an agentic enterprise Get Started Guided Tours Security & Governance Dataverse Connectors Power BI Desktop Pro Premium Embedded Report Server Power Apps Power Automate Power Pages Copilot Studio Pricing Resources by Product Power Platform Learn Power Platform Blog Documentation Power Platform Topics Contact us Start free

 

The current camera control has an OnSelect event that is typically used to capture the image. So when a user click anywhere in the camera control, you would normally do something along the line:

Collect(photos, Camera1.Photo)

However, a common scenario is to trigger the image capture from a button event. In the following case, we will capture an image when the Red button is pressed:

 

image_thumb[3]

To achieve this, we will set the StreamRate property of the Camera control to 100.  Then on the OnSelect event of the red button use the Camera1.Stream instead of Camera1.Photo:

Collect(photos,Camera1.Stream)

That’s all. You can check out the sample here