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
Test Dev 81Test Dev 81 

Share records with guest user

hi everyone,
I have created the site and there are a profile and guest user
i want to share Contract records with this guest user
for this, I have created Sharing rule also gave Account, Contact, Opportunity, and Contract read permission to this site profile 
the sharing rule I have created from sharing setting for  "Guest user access, based on criteria"
User-added imageand Default OWD for account and contract is Public read write
but still, the guest user is not able to access contract records
any idea guys?
Thanks,
Rahul
ShirishaShirisha (Salesforce Developers) 
Hi,

Greetings!

Can you please double check,if the record meets the criteria which you set up on the Sharing rule as well as double check the way you created the rule:

https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/security_sharing_rules_guest.htm

Please mark it as best answer if it helps you to fix the issue.

Thank you!

Regards,
Shirisha Pathuri