+ Start a Discussion
phil.vaseyphil.vasey 

Storage usage reports Content=363, but I have no content

Hi All

 

My storage usage reports:

 

Current File Storage Usage    

Record Type Record Count Storage Percent
Attachments 0 0 B 0%
Documents 2 5 KB 0%
Content 363 22.1 MB 100%
Photos 4 19 KB 0%

 

However, the following SOQL statement returns no records:

 

     [ SELECT Id FROM ContentDocument ]

 

I am the administrator with "View All" permission.

 

Can anybody explain this please?

 

IspitaIspita

 

Posts: 438
 
0
 

Re: Storage usage reports Content=363, but I have no content

 [ Edited ]

Hi Phil,

Despite you being the administrator of the org you will not have visibility to a file/content of which you are not the owner. Its somewhat like things (reports + files) in "Personal Folder" , despite being an administrator you wont be able to view contents of a personal folder.

 So its not that you dont have content , you dont have access rights to the content ...

 

Also where are you running the SOQl (if its in a place where it runs in system mode , you should be able to see the records and if there you are not seeibg anything its a cause of concern , also the high count of content is driven by high count of versions of content files ... Try exporting them using the weekly export SFDC functionality and then perhaps you will get the actual count of content files ....)

 

Thanks