i have a powerapp form connected to a sharepoint site.
A button rums the below code and creates a collection of document names from a sharepoint site.
ClearCollect(colDocuments, Filter(Documents,'{Path}'="Shared Documents/SMR Documents/" & DataCardValue13.Text & "/",'{IsFolder}'=false));
DataCardValue13.Text changes from folder 01, folder 02 etc dependent on selected sharepoint record.
most times the expressions works and returns correctly, but sometimes it returns nothing for a specific folder, even though there are files in the folder.
Can anyone offer any advice or fault finding tips?