You need to sign in to do that
Don't have an account?

Metadatafor report folder
Hi,
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.
Thanks
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.
Thanks
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:
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_intro.htm
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_folder.htm
Query this in workbench or query editor to get a better understanding on what you have to deal with:
Need help.
Thanks