Post Summer'22 release, Report charts in Visual Force Pages giving EclairNG js not defined error
Last updated 2022-07-05 ·Reference W-11264329 ·Reported By 12 users
Post Summer'22 release, Report charts are not working in Visual Force Pages while accessing them in Community base Urls with the EclairNG js not defined error.
1. Create a simple Visualforce page that includes the reportChart component with a hardcoded ID to any existing report. Example "MyReportPage":
<div id="dispnone" >
<analytics:reportChart id="reportDashboard" reportId="00Oxxxxxxxxxxxx" size="large"
2. Create an Experience site using the "Standard Tabs And Visualforce" template, and give it a path prefix (!IMPORTANT!). Make sure the new page is accessible to the site and site user. Example site: https://mysites.force/mysite
3. Under the "All Sites" view for Experience Sites, click on the link for the site created in #2. This will display the standard [Aloha] tabs for the site.
4. Change the URL to open the VF page created in #1. Example: https://mysites.force/mysite/apex/MyReportPage
The response to the request for "reportChartDependencyApp.app" will contain the incorrect path for 'EclairNG.js': https://mysites.force/mysite/mysite/jslibrary/.../EclairNG.js
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.