Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All dashboard component XML files must be placed under ..<custom_project>/web/WebContent/pages/dashboards/<module_name> directory.

In the following example completedActinitiesPerTypeAndMonth.xml is created under  ..under <custom_project>/web/WebContent/pages/dashboards/activities

...

All dashboard component XML files must be placed under ..<custom_project>/web/WebContent/pages/dashboards/<module_name> directory.

In the following example nonCompletedActivitiesSummary.xml is created under  ..under <custom_project>/web/WebContent/pages/dashboards/activities

...

In the following example dashboardNonCompletedActivities.xml is created under ..<custom_project>/web/WebContent/pages/summary/activities

...

In order for the dashboard to be available to the user, it must be defined in metadata file modules.xml, which is located under ..<custom_project>/web/WebContent/metadata directory

Code Block
languagexml
titlemodules.xml
collapsetrue
 <modules>
    <module>
        <moduleid>ACCOUNTS_RECEIVABLE</moduleid>
        <applicationid>FINANCE</applicationid>
        ...
        <features>
            <feature>
                ...
                <dashboardcomponents>
                    <dashboardcomponent>
						<id>COMPLETED_ACT_PER_TYPE_MONTH</id>
						<name>key_completed_activities_per_type_and_month_stacked_bar_chart</name>
						<description>key_completed_activities_per_type_and_month_stacked_bar_chart</description>
						<filename>activities/completedActivitiesPerTypeAndMonth</filename>
					</dashboardcomponent>
                    ...
                </dashboardcomponents>
            </feature>
            ...
        </features>
    </module>
</modules>

...