Salesforce Criteria Based Sharing Rules and Guest User Sharing Rules (英語)
更新日 2026-11-07
動画の公開後に変わったこと
Each change is dated and checked against Salesforce's own documentation.
- Guest rules give Read Only, and nothing else does. Not a platform change since the video, but worth saying plainly: "A guest user sharing rule is a special type of criteria-based sharing rule and the only way to grant record access to unauthenticated guest users. Guest user sharing rules can only grant Read Only access" (Create Guest User Sharing Rules, Salesforce Help, checked 2026-11-07).
- The course adds a warning for guest rules. Not a platform change: a guest rule makes records visible to anyone on the internet. The course warns against using one on accounts or contacts, and suggests an object built only for what the public may see.
今も正しいこと
- A criteria-based rule shares records on values in the record itself, never through a relationship: choose the criteria, the access level and the target.
- The target can be a public group, a role, or a role and its subordinates. Choose subordinates when the people below need to help work the records.
- Public groups can hold users, roles and other groups, so one group can stand for a whole region.
- Avoid hard-coded record IDs in rules: they differ between sandbox and production.
- After you save a rule, Salesforce recalculates and writes rows into the share table, which you can query.
- The limits: "You can define up to 300 total sharing rules for each object, including up to 50 criteria-based or guest user sharing rules" (Sharing Rules, Salesforce Help, checked 2026-11-07). One rule per state uses them up fast.
- If the value you need isn't on the record, add a field and keep it filled with an automation.
All videos in this series: セキュリティアーキテクチャ
動画は、クリックしたときにだけ YouTube から読み込まれます。