Dashboard components offer a visual representation of data to the user. They consist of an SQL statement, which if needed, can be dynamically altered by adding certain filters and criteria.
What does this section cover?
There are two types of dashboard components, chart and summary.
Chart Dashboard Components
To create a new Chart Dashboard Component, you need to create:
- An XML file that will define the component's data source, type, and various settings.
- A Java method OR an SQL statement that will retrieve the dashboard results.
- A summary page that the dashboard component will link to.
A data entry page (definition and layout XML pages) that will give the user the ability to adjust the dashboard settings to apply an additional filtering. (optional)
Also, in order for the dashboard to be available to the user, it must be defined in metadata file modules.xml, which is located under ../metadata directory.
Summary Dashboard Components
To create a new Summary Dashboard Component, you need to create:
- An XML file that will define the component's data source, type, and various settings.
- The embedded summary page that will retrieve and display the dashboard results.
Also, in order for the dashboard to be available to the user, it must be defined in metadata file modules.xml, which is located under ../metadata directory.
For more information on creating dashboard components, go to Create Dashboard Components. For a full list of metadata dashboard attributes, go to Dashboards Metadata.