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
sherburnesherburne 

OpportunityTeamMember is nice, but needs an OpportunityAccessLevel!

Hello all...

I'm having trouble with the API for OpportunityTeamMember: There's no way to set the Opportunity Access Level via the API, as there is when using the website.

The OpportunityShare object has exactly the field I need (OpportunityAccessLevel), but that object doesn't include the TeamMemberRole attribute, which I also need.

Finally, UserTeamMember has both, but isn't associated directly with a Opportunity, my last requirement in all this.

Any and all thoughts are appreciated!

Thanks,

Tim
Rajesh ShahRajesh Shah

Did you found a solution for this?