Article #000001372
Summary
The admin user is unable to upgrade the Matter Management package due to a missing chart on a report.
Question
Why am I receiving the following error when I upgrade the Matter Management package:
Problem:
1. FlexiPage(AdvoLogix_Home_Page_Admin) Component [flexipage:reportChart] attribute [reportName]: Report Matters_By_Status does not have a chart AdvoLogix_Home_Page_Admin: Component [flexipage:reportChart] attribute [reportName]: Report Matters_By_Status does not have a chart
2. FlexiPage(AdvoLogix_Home_Page_App) Component [flexipage:reportChart] attribute [reportName]: Report Matters_By_Status does not have a chart AdvoLogix_Home_Page_App: Component [flexipage:reportChart] attribute [reportName]: Report Matters_By_Status does not have a chart
Resolution
The error message you're encountering indicates that the report "Matters_By_Type_Status" does not have a chart, which is required for it to be displayed using theflexipage:reportChartcomponent. Here are some steps to resolve this issue:
Edit the Report:
Navigate to the report "Matters_By_Type_Status" in Salesforce.
Ensure that the report includes a chart. If it doesn't, add a chart to the report.
Save the report after adding the chart.
Update the Lightning Page:
Go to the Lightning Page Editor by selecting the Setup gear in the top right corner of your org, then select "Edit Page".
Click on theflexipage:reportChartcomponent that is referencing the "Matters_By_Type_Status" report.
Ensure that the report field is correctly set to "Matters_By_Type_Status".
Save the changes in the Lightning Page Editor.
Ensure Report Accessibility:
Make sure that the report "Matters_By_Type_Status" is saved in a public folder so that it can be accessed and displayed on the home page.
Add New Report Charts (if needed):
In the Lightning Page Editor, locate "Report Chart" in the list of components on the left side.
Drag and drop the "Report Chart" component into the desired location on the page.
Select the appropriate report and update the Label field in the properties panel on the right.
Save and Activate:
Save the changes in the Lightning Page Editor.
Use the Activation button to ensure the page is set as the org default across all users and profiles.
Exit the editor by selecting the Back button in the top left of the page.
By following these steps, you should be able to resolve the error and ensure that the report chart is displayed correctly on the home page.