Microsoft PowerApps provides nice Camera control, the pictures with Camera control
can be stored in storage of our choice (Azure Storage, OneDrive, CDM etc…). In this
blog, we shall explore how to store the pictures shot from Camera control to CDM
(Common Data Model) with the Geo-Location information.
3. Push photos from Camera to CDM
Update “OnSelect” property of Camera control as below, to push the picture to CDM. Camera1.Photo
holds the ouput of the camera control. To get the geo-location, we are using Location.
Camera1.Photo, GeoLocation: Concatenate(Text(Location.Latitude), " ", Text(Location.Longitude))})
With the above steps done, the photo from the camera is pushed to CDM with geo-location.
And the image gallery gets updated with the list of images from the CDM.