2

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:

https://developer.salesforce.com/docs/atlas.en-us.api_analytics.meta/api_analytics/analytics_api_folders_shares.htm

https://developer.salesforce.com/docs/atlas.en-us.api_analytics.meta/api_analytics/analytics_api_folders_shares_by_id.htm

Thanks in advance.

1 Answer 1

3

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.

1

You must log in to answer this question.

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