Przetłumaczone przez AI. Jeszcze niesprawdzone przez społeczność. Czytaj po angielsku

Steve's 20 Ways of Sharing a Record in Salesforce (in English)

Updated 2026-11-07
Published 2023-10-23 · update checked 2026-11-07 · Watch on YouTube

What's changed since the video

Each change is dated and checked against Salesforce's own documentation.

  • 25 ways in eight sets now. Not a platform change: the course's map has grown since this video. Queues, external account hierarchies, Compliant Data Sharing, calendar sharing and data category visibility have their own numbers, and code is its own set. Sharing and Visibility chapter 5 is the 2026 map.
  • Manual sharing is built into Lightning. The video says you need an AppExchange product for manual sharing. Not so: in Lightning Experience, you "Click Sharing on the record that you want to share" and choose the users, groups, roles or territories (Grant Access to Records with Manual Sharing in Lightning Experience, Salesforce Help, checked 2026-11-07). The manual sharing video, 4.11, says the same.
  • Manual shares can survive an owner change. "By default, when ownership of a record is transferred, Salesforce deletes manual shares on the record." Since Winter '27, a setting in Sharing Settings, Keep manual shares when transferring records, keeps them (Keep Manual Shares When Transferring Records, Salesforce Help, checked 2026-11-07).
  • Code's shares on standard objects can have their own reason. "For over a decade, standard objects didn't support custom row causes." Since October 2026 they do, so shares written by code on an account can survive an owner change too (Protect Apex Shares: Custom Row Causes on Standard Objects, Salesforce Developers blog, checked 2026-11-07).
  • Enterprise Territory Management is now Sales Territories. The same feature, under its current name in Salesforce Help (Sales Territories Concepts, Salesforce Help, checked 2026-11-07).
  • Criteria-based rules can't use formula fields. The video says a criteria-based sharing rule uses "a criteria or formula". The rule matches field values, and "you can’t use lookup fields, encrypted fields, formula fields, or fields whose values are derived from other fields on the record" (Sharing Rule Considerations, Salesforce Help, checked 2026-11-21).

Still right

  • Record access is the file cabinets: once a user has the object, sharing decides which records they see.
  • Most sharing is kept in a share table beside the object, such as AccountShare, and you can query it.
  • The first set: the org-wide default, granting access through the role hierarchy, and the owner. An owner low in a deep hierarchy shares upward a long way.
  • Sharing rules, criteria-based and owner-based; manual sharing, teams and territories; View All and Modify All, which no sharing can hide a record from; code or a flow writing shares; implicit sharing; restriction and scoping rules; and the site users' own tools.
  • Code's shares need two doors: on the record, and on the user.
  • If no tool can protect the data, keep the record private and show it through a component that runs in system context, as a last resort.

All videos in this series: Architektura bezpieczeństwa

Film wczytuje się z YouTube dopiero wtedy, gdy go klikniesz.