function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AbAb 

Sharing button on Record, Signifies , What ?

Hello,

when you click on a record, it show a button sharing, when we click on it, it shows the some sharing rules, but how are the rules in sharing populated,
for example, one of the record it show that, its been shared to XYS Group.
How is it populated
Best Answer chosen by Ab
Ajinkya1225Ajinkya1225
Sandrine,

The sharing button is used when the sharing model is Private.
To check the sharing model of your salesforce org, go to- Setup, Type Sharing Setting in the quick find box and click on Sharing Setting.
If the object is private, the records are only visible to the Record Owner. To share these records manually with other users, we use Share Button.

Hope this helps!

Can you take a moment to  upvote and mark this answer as solved, if it helped you.
Cheers!
Ajinkya Deshmukh

All Answers

Stephen Piercey 5Stephen Piercey 5
You can share records directly from that screen. Adding new shares to new users or groups. These can also be added in Apex code. 
Ajinkya1225Ajinkya1225
Sandrine,

The sharing button is used when the sharing model is Private.
To check the sharing model of your salesforce org, go to- Setup, Type Sharing Setting in the quick find box and click on Sharing Setting.
If the object is private, the records are only visible to the Record Owner. To share these records manually with other users, we use Share Button.

Hope this helps!

Can you take a moment to  upvote and mark this answer as solved, if it helped you.
Cheers!
Ajinkya Deshmukh
This was selected as the best answer