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
talanbtalanb 

Trouble creating OpportunityShare

I have an s-control that as part of it's processing add's a couple of OpportunityShare objects for an Opportunity. While testing, everything seemed to be working fine, but when we pushed it out for general use, it fails when creating the OpportunityShares. Further research shows that when logging in as one of our "Normal" users the OpportunityShare object does not appear to be available through the API (evidenced by the fact that it does not appear in the object tree in sforce explorer when logged in as that user. Logged in as myself (an administrator) I can see the object.

Are there any restrictions that I am not aware of for creating objects of type OpportunityShare through the API?

Thanks

Todd Breiholz
Meredith Corporation
benjasikbenjasik
It's only available to admins in the API today. Please log a feature request for making it available to all users, and provide some info on your use case.

Thank you.