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