Hi guys,
I am new to PowerApp. I am required to build a checklist app with photos using SharePoint. However, I am stuck on
1) Upload photo to the specific question onto SharePoint( 20 ++ questions means 20 ++ photos)
2) Display back the photo to the specific question.
I had watched this video https://www.youtube.com/watch?v=Hq7iqhEDCOI this is what I want to do but I am lost on the photo part.
Kindly please help. Thank you.
Hi @Christopher_20 ,
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
My screen shot is of a record on the left and all related photos on the right (from a SharePoint Library).
You can also do the same thing with attachments - this post of mine (look down further) explains the process.
You just need to decide which option is best for you.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @WarrenBelz
Thanks for the reply. I do not want to display in gallery. i wan display to individual question as shown below.
Hi @Christopher_20 ,
I file all photos in Libraries and display them in Galleries. I write the ID of the List Item in the Flow to the gallery metadata in a field I call IDRef (call it whatever you want) and simply filter the Library where this equals the ID of the current list item. An example is below
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @WarrenBelz ,
Thank you for the comprehensive reply. May I just confirm do you use form for question and image at the side? or do u use gallery and attach as image?
Since i also need to do live update if possible. It means that both user will see the same form with the photos updated live. Can it be done using gallery or do using form only?
Hi @Christopher_20 ,
There are two ways of doing this
Going with the first option, and assume you have the file name applicable in a field called PhotoFile (change to your name) in your question list. Firstly, Collect the photos (this saves Delegation warnings on what is below)
ClearCollect(
colPhotos,
RenameColumns(
YourPhotosLibrary,
"{FilenameWithExtension}",
"FileName"
)
)
Now put an Image control in the Gallery with this in the Image property
LookUp(
YourPhotosLibrary,
FileName = ThisItem.PhotoFile
).'{Thumbnail}'.Large
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
@rohsh354 hi thanks for the reply.
I understand how to upload image to SharePoint, however I am unable to tag to the specific question.
I.e.
Q1 --> display image A
Q2 --> display image B
.
.
.
Q15 --> display image N
How can i tag the specific image to that specific question when I want to display it back?
Thank you.
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional