function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nirmal ChristopherNirmal Christopher 

​TAR files are not supported in Salesforce

Description : We have the external system which have the TAR files which is sent to "Content Document" object in salesforce and Salesforce need to delete the files autometically from the system every 30 days. Here is the problem I am unable to identify which is TAR files among the other files in the object since the field "FileType" returns the value "Unknown". Please let me know if there is any work round to identify the TAR files in the "Content Document" object 
Best Answer chosen by Nirmal Christopher
ShashankShashank (Salesforce Developers) 
There is a field called FileExtension on the content document object. Can you check if you can use it to identify TAR files?