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@101Test@101 

embedded reports and dashboard in Visualforce page for guest user site

Can i give guest user access to Report and dashboard in visualforce page?
AbhishekAbhishek (Salesforce Developers) 
Hi,

You aren't going to be able to use out of the box components (like <analytics:reportChart>) to run reports as the guest user.

If you want to display reporting data to unauthenticated users, you're going to have to query the data yourself in Apex and use a third-party tool or the built-in apex: chart component.

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_intro.htm

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks.