Hi, please help!
I have been struggling to build an app with a list of audit questions (changeable, and currently stored in an independent sharepoint list) that can be loaded in as a collection for offline use. Users need to be able to scroll through the questions, assign a score out of 5 to each question and make some comments.
Currently, I have a gallery which displays each question, and each has its own dropdown to select a number, and a textinput for the comments.
I have been trying to use:
Button (outside of gallery) OnSelect:
ForAll(GALLERYNAME.AllItems, UpdateIf(LOCALCOLLECTION,IsBlank(Score),{Score: DROPDOWN.Selected.Value, Comments: TEXTINPUT.Text}))
but when i hit the button, every item in the collection is given the same score and comment.
Using UpdateIf as Patch was not working at all for this purpose.
Any help to make this work properly will be very gratefully received!
Thanks