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
Andrea AttolicoAndrea Attolico 

Change files sharing setting in massive way

Hello,

I'm new in this forum and I hope to have choosen the right category where asking help.

I need to change the sharing setting of 800+ files form "Your Company" to "Private".

Is it possible without lose time doing it for each file????

thanks

PrasanntaPrasannta (Salesforce Developers) 
Hi,

Please refer to the link below to change the sharing setting for bulk of records-

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_bulk_sharing.htm

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_bulk_sharing_creating_with_apex.htm

Hope it helps.
LoneStar69LoneStar69
Hi Andrea,

Did you come across any quickest way around this? I am in need of the same.