Versions Compared

Key

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

...

Name
Description
Value
nameThe dashboard component report name.Any
descriptionThe dashboard component report description.Any
sqlThe dashboard component SQL statement (In the case the SQL is very simple).Any valid SQL statement
ejbThe ejb nameentityTableThe entity table.Any
methodThe method to call from the ejb.Any
typeThe dashboard component type.pie, stack, bar, summary
valuelabelsThe label values that the group by elements will have.<label_name>:<label_value>, ejb/<method_name>
primaryfieldThe primary field nameentityFieldThe entity field.Any
primaryfieldlabeldatasetThe label that the primary field will havereport dataset.Any
groupbyfieldjoinsThe group by field name(s)report SQL joins.Any
groupbyfieldlabelconditionsThe label that the group by field will havereport SQL conditions.Any
summarypagetemplateThe summary page name to link to.Any
orientationThe dashboard component orientation.vertical, horizontal
settingThe dashboard component settings.Settings
fieldsThe dashboard component fields.Fieldsreport template.A00_A4_Landscape, A00_A4_Landscape_With_SubReport, B00_A4_Portrait
subReportThe report sub report.SubReport
   

 

 

Examples

Expand
titleBar Chart

 

Code Block
themeEclipse
languagexml
titleparticipantsSignups.xml
<dashboardcomponent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/dashboards.xsd">
	<name>Rewards Participants Signups</name>
	<description>Rewards Participants Signups Bar Chart</description>
	<ejb>CRMUIRewardDashboard</ejb>
	<method>loadParticipantsSignups</method>
	<type>bar</type>
	<orientation>horizontal</orientation>
	<primaryfield>REWARDPARTICIPANTS.REWPARTID</primaryfield>
	<primaryfieldlabel>Number of Rewards Participants</primaryfieldlabel>
	<groupbyfield>MONTH_SIGN_UP_DATE_FILTER</groupbyfield>
	<summarypage>rewards/participants</summarypage>
</dashboardcomponent>