Looking for a feature(apex) to share folders to users/groups etc using apex. We have REST based APIs to do. Just wondering if we have anything like that in Apex.

Following are working fine:



Thanks in advance.

1 Answer 1


I don't think it is directly possible with Apex as of Today, as FolderShare Object is not exposed. There is an idea here and worth voting for it : https://ideas.salesforce.com/s/idea/a0B8W00000Gdoa2UAB/share-report-folder-object-visibility

You have to use either REST API or Metadata API to achieve this.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .