I need to use the camera function within PowerApps in order for employees to take pictures of their employee card (front picture and back).
I'm using two variables (FrontPic & Backpic) in order to save the pictures, my only problem is that I need to use one button that firstly takes the first picture -> which saves itself in the FrontPic variable, and after that, I want to store the second picture - in the Backpic variable.
I've tried using this formula, but it only saves the Frontpic variable.
maybe the problem is that in cannot be saved in a variable. When I am saving photos from camera I am saving it to a collection and then using Firct(collection).url to save it to the flow. I would suggest this and maybe have an extra variable which will change depending if on which picture to take. For example it can be set to true when you first enter to the camera screen and then on click it can change to false and it can reset after all.