I have an app that uses a gallery to preview attachments embedded within a gallery, so I get a vertical gallery view of records from a Sharepoint list, then within that I see thumbnails of images within each record. I last published the app in September, and everything worked fine, but I opened it up to make a slight change on the visibility of an edit button that is completely unrelated and on a different page, and now the thumbnail gallery is empty. I thought maybe I hit something by accident, so I rolled back to the functioning version, but even that one is now showing the gallery empty as if there is no data. I republished the older version and it is showing data when users open it, but nothing is showing in the preview and if I republish anything except the prior version there are no items in the gallery.
The gallery images should be in between the map thumbnail and the title/date.
The gallery items should be in between the map image and the test title
The gallery items are ThisItem.Attachments, and the specific item uses the following code:
Switch(Title3.Text,"PDF",'PDF LOGO',"pdf",'PDF LOGO',ThisItem.Value)
Title3 establishes the extension of a file, so if it is a PDF it replaces the thumbnail with an image of the PDF logo I have uploaded. Otherwise, it creates a thumbnail from the url of the image in the sharepoint list. Like I said, it has worked flawlessly up until this last update, and there is nothing remotely connected to this that got changed.
Thank you.