Announcements
I am having difficultly making selected drop-down values stick for every row in a gallery after the first one when doing a patch. It just keeps repeating the same values that are in the first row of the gallery when they are saved to sharepoint. Is there a way to make each selected value of a column in the each row of the gallery not change? the text inputs stick in the row of the gallery as do the hard coded values but the selected items in the drop-downs don't.
Hi @jv123 ,
Could you please share more details about your scenario? What is the formula in Items of Gallery? What is the entire formula of ForAll and Patch?
I tried to reproduce this issue and found that if only use Dropdown.Selected within the Patch function, it did update duplicates to the data source. But if use an As function to represent Gallery.AllItems, GA.Dropdown.Selected could help update properly. Please have a try:
Result:
Best regards,
Are you referencing the gallery or the collection? I am using a collection because I needed to be able to connect to more than one data-source. I'm not sure Allitems will work.
yeah tried that and it literally broke everything.
So, what was your formula? If not referencing the Gallery, how will the Patch function know respective dropdown values from ForAll items?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 358 Most Valuable Professional
11manish 214 Super User 2026 Season 2
Mohsin Ali 185