I was so excited about the Spring ’14 Embed Report Charts in Visualforce Pages as a way to present data visualizations on a public site, and now it looks like that’s not possible.
I created a page that looks basically like the release notes sample:
<apex:page > <analytics:reportChart reportId="00OW0000000Spru"></analytics:reportChart> </apex:page>
I tested it inside the authenticated environment, where it works fine, then added it to a Site. There, I get the error: To view the report chart, you need both the Run Reports permission and access to the report’s folder. But, Run Reports is not a permission I can grant to the Site Guest User.
Anybody have any ideas for a workaround? Or is it not going to be possible to show report charts on a public site?
You aren’t going to be able to use out of the box components (like
<analytics:reportChart>) to run reports as the guest user.