Forum Discussion

Jack95's avatar
Jack95
New Member
1 year ago
Solved

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...
  • lbendlin's avatar
    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 library

    You 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.