Skip to main content

I'm posting this so I find it later when I forget this.  If anyone has feedback please comment.

 

To query all Files in the org, you have to add USING SCOPE Team to the query.  It also applies to contentVersion.

 

Select Id, Title, FileExtension, CreatedDate From ContentDocument USING SCOPE Team

 

For whatever reason Salesforce doesn't share all files with admin users.

0/9000