function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi,
I have unnecessary files posted via chatter under Files object. Can any body help to delete the unwanted files at one shot.
Abdul.
List<ContentDocument> cdlist = [Select Id, Title from ContentDocument order by createddate desc limit 3 ];
delete cdlist;
doc,
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_contentdocument.htm