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
Shyam VaishnavShyam Vaishnav 

Guest user not able to access document records through SOQL

We have a public site and we want to get the site logo from the document. The associated Document record is not returned on querying by a guest user with user license "Guest User". But it returns a row if internal SF user queries for the same. Can you please suggest a solution for the same?
Suraj Tripathi 47Suraj Tripathi 47

Please follow the below link:-

Please mark it as Best Answer if it helps you.

Thanks & Regards
Suraj Tripathi