Forum Discussion
Jack95
1 year agoNew Member
SharePoint.File Including Hidden Files
Hi, I have a couple of queries connected to SharePoint using SharePoint.Files, but they're retrieving all files in the document library - I'd like to exclude hidden files, system files, forms, te...
- 1 year ago
I only want to retrieve a list of files created/added by end-users and that are visible when they click into the libraryYou will see the files that YOU have access to. This can be different from the files THEY have access to and you can risk oversharing and data leakage.
Best is to filter your SharePoint.Files results by FolderPath and file name pattern.