Przejdź do głównej zawartości

Sharing Sets, Share Groups, Account Relationships

Ta treść nie jest jeszcze dostępna w Twoim języku.

Module 8 of 9 in the chapter Steve’s 25 Ways to Share a Record: The Map, chapter 5 of Securing Salesforce: Sharing and Visibility. Each module stands on its own.

The question this module answers: Most of the map needs a role and a share table. What about external users whose license gives them neither?

Here’s a thing I said in module 1: not every way works for every user. The license matters, especially for community users. Set 7 is the set for them.

Think of the licenses as seats in a stadium. Way at the back, the seat in the corner with a bench, where you can barely see the field: that’s Customer Community, the cheap seats, built for huge numbers of users. Come down the stadium and you get Customer Community Plus, with some soft cushions: roles and sharing. Closer still, Partner Community. And on the field, your own people, on internal licenses.

The external licenses as a stadium seen from the side: tiers step down from the bleachers to the field, bare benches at the back, seats with backs halfway down, padded seats near the field, and what each seat adds listed under it. The bleachers, External Apps and Customer Community: both have no roles, so sharing comes through sharing sets and share groups, and both scale to more than 100 million users. Halfway down, Customer Community Plus adds roles and standard sharing, reports with read-only dashboards, and delegated administration. Near the field, Partner Community and Channel Account add leads and opportunities, campaigns and full dashboards. On the right, the field: your own people, on internal licenses. Along the top: closer to the field, the more of the company's data a seat can reach.

The users in the back seats are what Salesforce calls high-volume users. “Unlike other users, high-volume community or site users don’t have roles, which eliminates performance issues associated with role hierarchy calculations. High-volume users include the External Apps, Customer Community, High Volume Customer Portal, and Authenticated Website license types” (About High-Volume Community or Site Users (opens in a new tab), Salesforce Help, checked 2026-11-01).

No role means most of this chapter doesn’t work for them. Salesforce’s list: you can’t manually share records they own; you can’t put them in public groups, owner-based sharing rules, or account, opportunity or case teams; and you can’t assign them to territories (same page). Their records can only be shared through guest user rules, criteria-based rules, and share groups.

So you can’t create owner-based rules for them, or teams, or most of the rest. They need their own ways, in both directions: records coming in to them, and their records going out to your people.

A sharing set brings records in. Salesforce: “A sharing set grants site users access to any record associated with an account or contact that matches the user’s account or contact” (Create a Sharing Set for Experience Cloud Site Users (opens in a new tab), Salesforce Help, checked 2026-11-01).

The key is the link. The records you want to share must have a lookup to the user’s account or contact. In my demo, I create an airline training object with a lookup to the account. The sharing set says: for site users with this profile, show the airline training records whose account matches the user’s account. Now each site user sees their own company’s training records, and nobody else’s.

A few things from the same page:

  • Read Only or Read/Write. You choose the access level for each object in the set.
  • One sharing set per profile. “You can have one sharing set per profile only.”
  • Not up the hierarchy. “Record access granted to users via a sharing set isn’t extended to their superiors in the role hierarchy.”
  • Only objects that can link. The list leaves out objects that are Public Read/Write, and “Custom objects that don’t have an account or contact lookup field.”
  • Children don’t bring the parent. “Sharing sets for contacts, cases, and opportunities don’t automatically grant access to these objects’ parent accounts. To grant access, include the account in the sharing set as well.”

And something that’s changed since I first taught this. Sharing sets used to be only for the cheap seats. Salesforce now describes them for Experience Cloud site users generally, while the share groups that go with them still aren’t “available to users with Customer Community Plus and Partner Community licenses” (same page). Chapter 15 sorts out which seat gets what.

Now the other direction. In my demo, the site user clones a training record twice. Those two records are owned by the site user. That user has no role, so how does anyone inside your company see them, if the object is Private?

That’s the share group. Salesforce: “Share groups allow you to share records owned by high-volume Experience Cloud site users with authenticated internal and external users.” A share group belongs to a sharing set, and you add members to it: “both internal users from your org as well as external users from the same parent account as the high-volume user” (Use Share Groups to Share Records Owned by High-Volume Experience Cloud Site Users (opens in a new tab), Salesforce Help, checked 2026-11-01).

So sharing sets share with them, and share groups share their records inside. I used to call them sharing groups; share groups is Salesforce’s name, and the one this course uses.

Two warnings from the same page. You can’t use a share group to share these records with guest users; use guest user sharing rules for that. And “Deactivating a share group removes all other users’ access to records owned by high-volume users.”

Put the two together and you have the pattern for every high-volume user: in through a sharing set, out through a share group.

In and out for a high-volume user In and out for a high-volume user. In the middle, a site user with no role and no share table. On the left, records on their account: cases, orders and other records with an account or contact lookup reach the user through a sharing set. Below the user, the records they own, such as cases they log and orders they place, reach internal users, and others at the same account, through a share group. Footnote: sharing sets store no share entries at all, so the share table won't show them. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.57.0", "built": "2026-10-30", "id": "DGM-SVA-WS-16", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "cells 0.5.0", "theme": "stevetecharc 1.4.0"} RECORDS ON THEIR ACCOUNT A HIGH-VOLUME SITE USER WHO SEES THEIR RECORDS Their account's records cases, orders… with an account or contact lookup Site user no role · no share table Records they own cases they log, orders they place Internal users and others at the same account sharing set share group Sharing sets store no share entries at all, so the share table won't show them. © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

And notice what’s missing: rows. Salesforce says so on the AccountShare page: “For some sharing mechanisms, such as sharing sets, sharing entries aren’t stored at all” (AccountShare (opens in a new tab), Object Reference, Winter ‘27, checked 2026-11-01). The share table we’ve been building all chapter won’t show you a sharing set. Module 9 comes back to that.

Way 22: account relationship data sharing rules

Section titled “Way 22: account relationship data sharing rules”

The last way in this set is for users who do have the share table: Customer Community Plus and partner users, the seats with cushions. Sometimes one partner company needs to see another’s records. A distributor and its resellers, say, or two partners working the same deal.

An account relationship data sharing rule does that, account to account. You enable account relationships, create a rule, and then an account relationship between two accounts that uses it. The rule “defines the relationship type, the type of information shared, and the record access granted.” The access is Read or Write, and the records are picked by owner or by account: a lookup “to a user or an account” (Configure Account Relationship Data Sharing Rules (opens in a new tab), Salesforce Help, checked 2026-11-01).

They work on “accounts, campaigns, cases, contacts, custom objects, leads, opportunities, orders,” and the partner fund and marketing budget objects (same page). And one warning before you turn it on: “After you enable account relationships in your org, you can’t disable it” (same page).

It’s a powerful tool for partner networks. Chapter 15 walks through the details.

Set 7, community licenses Set 7, community licenses: three ways for external users. 20 Sharing sets bring records in to site users: records on the user's account or contact, Read Only or Read/Write, one sharing set per profile. 21 Share groups send high-volume users' records out: records they own, to internal users and others at their account, tied to a sharing set. 22 Account relationship data sharing rules share account to account: one partner account sees another's records, Read or Write, chosen by owner or account; once turned on, they can't be turned off. Footnote: high-volume users have no role, so no owner-based sharing rules, no teams and no manual shares. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.57.0", "built": "2026-10-30", "id": "DGM-SVA-WS-15", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "comparison 0.5.0", "theme": "stevetecharc 1.4.0"} 20 Sharing sets records in, to site users Records on the user's account or contact Read Only or Read/Write One sharing set per profile 21 Share groups their records out Records high-volume users own To internal users, and others at their account Tied to a sharing set 22 Account relationships account to account One partner account sees another's records Read or Write, by owner or account Once on, can't be turned off High-volume users have no role: no sharing rules by owner, no teams, no manual shares. © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

Chapter 14, External Users: Sites, Communities, Licenses and Roles, covers the seats themselves. Chapter 15, Sharing Sets, Share Groups and Data Sharing for High-Volume Users, takes these three ways apart. For now, know which seat a user is in, because that decides which of the 25 ways can reach them.

  • Which license each kind of external user gets, knowing the cheap seats have no role and no share table.
  • For high-volume users, which objects they see through sharing sets, and that each one has an account or contact lookup.
  • For records high-volume users create, who inside needs them, through which share group.
  • Whether partner accounts need to see each other’s records, and whether to turn on account relationships, which can’t be turned off.
  • That external access is checked as carefully as internal, with an external user among the three test users.

Beyond the exam: what AI changes. An agent on a customer site answers as the site user. If that user is in the cheap seats, everything the agent can find came through a sharing set or the user’s own records. Read the sharing sets the way the agent will: every record on the customer’s account, on every object in the set. Chapter 20 covers agents.