Hi. We created a PowerApp to track our group projects. I created a tab that will show the subfolders and files contained within a specific folder within our Sharepoint Document Library based on the project selected in a table within the PowerApp screen. When I first set this up two weeks ago, the gallery was displaying both folders and files in my gallery; however as of Wednesday last week, my gallery will only display the subfolders and ignores any files that are within the Sharepoint Document Library Folder. I've attached screenshots of the app and code and have copied the code below as well.
Table Onselect:
UpdateContext({varFolder: "Shared Documents/" & tblProjectList.Selected.'Project Team' & "/" & tblProjectList.Selected.Title & "/"});
Gallery Items:
SortByColumns(AddColumns(Filter('Team Documents','Folder path' = varFolder),"Foldersort",If(IsFolder=true,1,2)),"Foldersort",Ascending,"{Name}",Ascending)
Blue Test Table Items (visible in the screenshots): I removed the Sort incase that was causing the issue
Filter('Team Documents','Folder path' = varFolder)
*The blue table is a test table to display the results of the code used to populate the gallery as a secondary check while I was troubleshooting. I can only submit three attachments so I didn't submit the screenshot with this code, but can if needed.
Is this a bug within PowerApps or is something missing from my code?
Thanks,
Todd
@Anonymous