What i have done is that i have two galleries one gallery uses a collection the other gallery the SharePoint list directly.
Gallery1 = Collection gallery
Gallery2 = SharePoint list gallery (Hidden gallery)
Gallery1 OnSelect = Set(varTicketID, ThisItem.TicketID);
Gallery2 items = Filter(SharePointList,(TicketID = varTicketID))
So when i click on an item in Gallery1 it is listed in Gallery2 by filtering. I do this because of delegation and that i want to get the attachments and i cannot do that in a collection but in Gallery2 i can get the attachments for the selected SharePoint item and display then in powerapps.
I then have a Attachment control that is set to Gallery2.Selected.Attachments
But sometimes it does not really list the attachments even if they are there it shows blank, if i click 2 times it is always listed. How can i make this more stable maybe using the update function or something? Please see the image below for showing the issue.
