Salesforce Certified Platform Sharing and Visibility Architect free question 8 / 10 · Domain 3: Access to Other Data
For a customer contract file, the company wants to keep the current shares as they are and prevent anyone from adding any more. Which setting matches the ContentDocument field descriptions in the Object Reference (Winter ’23)?
- Set PublishStatus to R to return the file to a personal library and stop its sharing
- Set SharingPrivacy to Private on Records, which removes the shares to everyone except the owner
- Change the owner of the file to an administrator so that only administrators can create share rows
- Set SharingOption to Restricted, which keeps the current shares and stops new ones
Show the answer and explanation
Answer: D
Why this is correct
The SharingOption description says it controls whether sharing is frozen for a file. The default is Allowed, which means that new shares are allowed, and when it is set to Restricted, new shares are prevented without affecting existing shares. Only administrators and file owners with Collaborator access to the file can modify the field.
Why the other options are wrong
"Set SharingPrivacy to Private on Records, which removes the shares to everyone except the owner" … SharingPrivacy set to Private on Records makes the file private on records but still lets it be shared selectively with others. It neither removes the current shares nor stops new ones.
"Change the owner of the file to an administrator so that only administrators can create share rows" … The description gives no rule that moving ownership stops other users from creating shares. The field that controls whether new shares are allowed is SharingOption.
"Set PublishStatus to R to return the file to a personal library and stop its sharing" … PublishStatus indicates whether and how the document is published, such as to a public library or a personal library. It does not control whether the file can be shared further.
Comparing similar fields
SharingOption answers whether the file can be shared from now on, while SharingPrivacy answers who can see the file on records. For a file such as a contract whose audience is settled, restrict sharing once the shares are made, and let an administrator or the owner relax it temporarily if more is needed.