Versions Compared

Key

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

...

Defining Dashboard Components in Metadata

 

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

Code Block
languagexml
titlemodules.xml
 <modules>
    <module>
        <moduleid>ACCOUNTS_RECEIVABLE</moduleid>
        <applicationid>FINANCE</applicationid>
        ...
        <features>
            <feature>
                ...
                <reports><dashboardcomponents>
                    <report>
                        <id>ACCOUNTS_RECEIVABLE_BALANCE_REPORT</id>
                        <name>key_accounts_receivable_balance</name>
                        <description>key_view_the_accounts_receivable_balance</description>
                        <reportfilename>AccountsReceivable/Accounts_Receivable_Balance.xml</reportfilename>
                    </report><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>
                    ...
                </reports>dashboardcomponents>
            </feature>
            ...
        </features>
    </module>
</modules>