I've been struggling with this issue where the Browser Gallery Selected Item is not displaying the correct selected item. It is reverting back to the first Item on the list... but not really... Bare with me, please 🙂
Here are the "Gallery items":
Once selected, I have a display form showing the record details. The attachment below: "Record Details"
When I view another vessel it displays everything the first record did, however, the status field which is a choice field and the Vessel Name are correct. as seen in "Record details 2", I do have an Upper() on the vessel Name and I believe that's why it is displaying correctly. I can't explain why the status field is working correctly as the cargo is also a choice field however a multi-select choice field(Not working). but this leads me to believe that the correct item is being selected otherwise we would not have the status and vessel name change. I have confirmed both records of data are different. I am using a SharePoint list to store the data.
Now I must state that this app is working perfectly in the web designer with no issues. only the Published version is having issues loading the correct data relating to the Display Form.
(Info) When Navigating from the gallery to the Display form, I do Navigate to another screen. I Select(Parent); Navigate to "Screen 2"
When I navigate back to my screen 1 I see the data in the form flicker to the first entry in the gallery before getting taken back to the first screen. it is almost like the Display form is stuck on the first entry it loads and only shows updated fields that the Screen 2 forces Example: an Upper(Parent.Default)
Please let me know any suggestions you may have. I hope this made sense 😞
Thank you in advance ❤️
Solved! Go to Solution.
I had the exact same problem. However, I found that I had a Reset(TextSearchBox) in the [OnSelect] action of my BrowseGallery.
I had done this so the search box would be reset upon returning to the Gallery after making my selection.
The solution was to remove the Reset(TextSearchBox) from the BrowseGallery [OnSelect] and add it to the BrowseScreen [OnVisible] action instead.
Problem was resolved after that. Not sure if this is your problem or not. Hope it helps.
Keep up to date with current events and community announcements in the Power Apps community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!