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
Timmy AhluwaliaTimmy Ahluwalia 

Metadatafor report folder

There are lot of report folders I want to change the access of all the report folder to "Manage",  and couple of folders i want to add public groups which have full acess to all the folders.
May be by Meta data or programatically, please advise.
Hello Timmy,

You can't perform DML operations on the Folder object using Apex.

However, we can do the mass changes using Metadata API. 

Supported Calls
create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()

Refer to these:

Query this in workbench or query editor to get a better understanding on what you have to deal with: 
SELECT AccessType, CreatedById, DeveloperName, Id, IsReadonly, Name, NamespacePrefix, ParentId,Type FROM Folder
Timmy AhluwaliaTimmy Ahluwalia
I have gone through documentation but i can not find a way how can i change the access of 100 folders to Manage from View.
Need help.