How do opportunity team overlays manage collaborative access control for cross-functional deal teams?
Answer
Basics: Large deals involve solution engineers, legal and executives who do not own the record. An Opportunity Team grants them record access without role-hierarchy or sharing-rule changes. Overlay splits credit those specialists without double counting the owner's quota.
How it works:
- Enable Setup > Opportunity Team Settings (and Opportunity Splits if needed).
- Add team members on the opportunity (OpportunityTeamMember with UserId, TeamMemberRole, OpportunityAccessLevel Read or Edit).
- Users can define a Default Opportunity Team in their settings so it is added automatically to new opportunities they own.
- Salesforce writes sharing rows to OpportunityShare with RowCause Team.
- Splits: Revenue splits must total 100% of the amount; overlay splits may total more than 100% because they credit supporting roles.
Advanced / deep dive: Team access only extends beyond OWD; it cannot restrict below it. It is not time-bound, so "temporary" access must be removed by a Flow or scheduled job. Team members get implicit read access to the parent Account, but not Account edit. Large teams on many opportunities create many share rows and slow sharing recalculation; consider roles, queues or territories for broad patterns. Split percentages and amounts feed forecasts and reports, so ownership transfers and currency changes must be tested. Account Teams and Case Teams are separate features that follow the same idea.
Code / config example:
List<OpportunityTeamMember> members = new List<OpportunityTeamMember>();
for (Opportunity o : newOpps) {
members.add(new (
OpportunityId = o.Id, UserId = solutionEngineerId,
TeamMemberRole = , OpportunityAccessLevel = ));
}
insert members;