Hi All,
We are building a basic Canvas "Site Inspection App". The inspector needs to go around and make comments and take a photo of each defined area of the inspection. The datasource is a sharepoint list, for each list item, we need to make a comment, and also add a photo.
I have got the comments basically working by just creating a Sharepoint List with the list of inspection areas, and used the built in "Integrate/Create an app"
But what I would like to do is modify the app so that for each list item datacard, I can add a button that takes me to a new screen where I can take a photo and upload it as an attachemnt to the sharepoint list. e.g. if I'm in the "Paint inspection" datacard I want to go and take a photo of the paint finish, then upload this photo to the list as "title_paint.jpeg"
In the end I'll have about 10 photos attached to the list.
I'm wondering what is the best way to do this?
One idea I had is.... could I have a single form that just has a camera control on it, but each time I call that form I pass a variable to it that says what inspection item this is for. E.g. if I have a "photo" button on the Paint datacard, it takes me to the photo form, but I pass to that function that it "Paint" and "Title", so then I can save that image as title_paint.jpeg, and if I call that photo form from the Carpet datacard, I pass Carpet, and Title to it and I can take a photo, and save that image as title_carpet.jpeg?
How best can I do this?
The next question, is how do I efficienly upload all these photos?
And is there a method to run the power app on a mobile phone when its off the internet and take a heap of photos, then have the inspection results and photos upload only when the phone is back on wireless internet?
Thanks, Simon

Report
All responses (
Answers (