External Account Hierarchies
Ta treść nie jest jeszcze dostępna w Twoim języku.
Module 7 of 8 in the chapter External Users: Sites, Communities, Licenses and Roles, chapter 14 of Securing Salesforce: Sharing and Visibility. Each module stands on its own.
The question this module answers: When your customer or partner isn’t one company but a family of them, how do the people at the head office see what the regional offices own, and what does every site user see without you doing anything?
Some customers aren’t one company. They’re a head office, with regional offices under it, and stores or branches under those. Each one is its own account in your org, and each one has its own site users. Then the head office calls and says: our people need to see what the regions are doing.
Chapter 10 gave the first answer, and it surprises people: the account hierarchy, the Parent Account field, doesn’t share anything. For your own people you build it with territories, teams, rules or code. For outside users with roles, Salesforce has a tool built for this exact job: the external account hierarchy, way 25 on chapter 5’s map.
A second hierarchy, beside the account hierarchy
Section titled “A second hierarchy, beside the account hierarchy”The external account hierarchy isn’t the Parent Account field. It’s a separate set of records, External Account Hierarchy records, each one pointing at an account and at its parent in the hierarchy. You turn the feature on in Digital Experiences settings, then build the hierarchy level by level (Configure an External Account Hierarchy (opens in a new tab), Salesforce Help, checked 2026-11-26).
And it does share. Salesforce: “External account hierarchies work like Salesforce role hierarchies. You can share data without creating sharing rules” (same page). The records owned by users at a child account are shared with the users at the parent accounts.
So you may have two hierarchies over the same accounts: the Parent Account field, which your reports and your people use and which shares nothing, and the external account hierarchy, which shares upward for outside users. They don’t have to match. Decide which one is the truth for sharing, and keep the other from drifting into a surprise.
How the records roll up
Section titled “How the records roll up”Picture Northgate Foods, an invented customer. The head office is the parent account. Under it, a West region and an East region. Under the West region, a store. Every one of them has site users on Customer Community Plus.
A store manager owns a case. Who sees it? Salesforce: “Child account data is shared with the highest role at each level within the external account hierarchy” (External Account Hierarchies Considerations (opens in a new tab), Salesforce Help, checked 2026-11-26). So the top role at the West region sees it, then the top role at the head office. It works like the role hierarchy you already know: up, never down, never across. The East region doesn’t see it, and the store doesn’t see what the West region owns.
Three details decide what really rolls up (both pages):
- The highest role at each level. Not every user at the parent account: the top role there, such as the executive role module 5 described.
- Grant Access Using Hierarchies on custom objects. If it’s on, records “shared with or owned by users” roll up. If it’s off, they don’t. It’s the same switch chapter 6 covered for your own hierarchy.
- What rolls up, and what doesn’t. Records owned by site users roll up, and so do records shared with them by sharing rules: “Sharing rules can work along with external account hierarchies.” But “data shared by sharing sets doesn’t roll up in role hierarchies” (Configure an External Account Hierarchy).
The limits, before you turn it on for good
Section titled “The limits, before you turn it on for good”Read this list before you enable it, because the switch is one-way. In Digital Experiences settings, Enable External Account Hierarchy: “After you enable this option, you can’t disable it in your org” (Configure Digital Experiences Settings (opens in a new tab), Salesforce Help, checked 2026-11-26).
From the considerations page:
- Only seats with roles. It’s for orgs with Partner or Customer Community Plus licenses. A customer on Customer Community, the cheap seats, has no role to roll up to.
- Five levels. More than five means a conversation with your Salesforce account executive.
- One kind of account. Business accounts only, not person accounts. A hierarchy holds partner accounts or customer accounts, “but not both.” An account can be in only one active hierarchy.
- Not with account role optimization. “External account hierarchies are incompatible with account role optimization (ARO).” If module 5’s shared person role is how you scaled, this isn’t open to you.
- At least one role. You can’t delete the last role in an account that’s in a hierarchy.
- No merges. Accounts in an external account hierarchy can’t be merged with another account.
- A ceiling. Up to 100,000 external account hierarchy records per org.
And one that changes your own people’s day: “Internal owners of child accounts that participate in an external account hierarchy can’t manage external users in the account that they own. They lose access to the records owned by those users.” Your account manager for the West region, who owned that account and saw everything its site users did, doesn’t any more. Tell them before you go live, and decide how they’ll see what they need: a sharing rule, a team, or a role above.
In class I’ve told people: I’ve seen an org with 300 customers and two levels of roles each, which is 600 roles. An external account hierarchy doesn’t add roles, but it does add a second structure that has to be kept true as customers buy, sell and reorganize. Someone owns that.
Which tool for which shape
Section titled “Which tool for which shape”Four tools in this chapter let outside users see more than their own records, and each fits a different shape:
| The shape | The tool | Where |
|---|---|---|
| Coworkers at one company, sideways | Super users | Module 6 |
| One person managing another account’s users | External managed accounts | Module 6 |
| A family of accounts, parent sees children | External account hierarchy | This module |
| Two separate companies, account to account | Account relationship data sharing rules | Chapter 5, chapter 15 |
Ask what the shape is before you pick. A distributor and its resellers are separate companies, so that’s usually account relationships, not a family. A head office and its stores are one family, so that’s the hierarchy.
What every site user gets without you doing anything
Section titled “What every site user gets without you doing anything”Before you build any of this, remember what’s already there. An outside user always belongs to an account, so Salesforce gives them some access from it. Chapter 10 module 5 covers this in full:
- Their account, and the people on it. A site user sees their own account and the contacts there who are site users too. A setting can show them the other contacts as well.
- The case contact. A site user who is the contact on a case can read and edit it, whoever owns it. For Customer Community Plus users it reaches up their external roles. You can turn it off.
There are more kinds of implicit sharing, for high-volume users and their parent records. When I teach them I say: you don’t need to know all the details, just know that they exist. What you do need to know is that this built-in access is there on day one, so count it in your design before you add anything on top.
Test knowledge. Know that an external account hierarchy shares records owned at child accounts with the highest role at each parent level, that it’s for Partner and Customer Community Plus orgs, that it holds up to five levels of business accounts of one kind, that it doesn’t work with account role optimization, that sharing set data doesn’t roll up, that the internal owner of a child account loses access to its external users’ records, and that the setting can’t be turned off. A likely area, not a known question.
What an architect decides here
Section titled “What an architect decides here”- Whether a customer or partner is one company, a family of accounts, or separate companies, and the tool that fits that shape.
- For a family, whether the external account hierarchy or the Parent Account field is the truth for sharing, and who keeps the two in step.
- Whether account role optimization is in use, since the two can’t be combined.
- Which custom objects roll up, through Grant Access Using Hierarchies, and whether any data comes from sharing sets that won’t.
- How the internal owners of child accounts will keep the access they lose.
- Whether the org is ready to turn the setting on for good.
- What every site user already sees through implicit sharing, before anything is added.
Beyond the exam: what AI changes. An agent serving the head office runs as a head office user, so it sees what rolls up to them: every region and every store, five levels deep. Ask it for “our open cases” and it answers for the whole family. That’s the point of the hierarchy, but check the words the agent uses. Head office staff should know they’re reading the regions’ records, and the regions should know the head office can. Chapter 20 covers agents.
Explore
Section titled “Explore”- External Account Hierarchies Considerations (opens in a new tab), Salesforce Help (checked 2026-11-26)
- Configure an External Account Hierarchy (opens in a new tab), Salesforce Help (checked 2026-11-26)
- Configure Digital Experiences Settings (opens in a new tab), Salesforce Help (checked 2026-11-26)
