Attribute Details: TemplateModifierFile

Some elements employ a definition file as a template. The definition contains language and culture specific Caption attributes that you may want to change. Or you may simply want to change the captions to better suit your application.

The TemplateModifierFile is an XML file with elements pointing to other elements in the template to be changed. All other attributes get applied in the template.

For example, the Dashboard2 element has a template file (rdTemplate\rdDashboard\rdDashboard2Template.lgx) several Label elements. One has an ID="lblAddPanelsTitle". The Caption can be changed with the following XML in the TemplateModifierFile:

<SetAttribute ID="lblAddPanelsTitle" Caption="Add New Dashboard Panels" />

You can set attributes for any number of elements. Examine the template file to learn the ID and Caption attributes you may want to modify.

The above example shows how to identify template elements with an ID attribute. Alternatively, you can also identify elements with an XPath expression. In this example, we change an attribute of the InteractivePaging element:

<SetAttribute XPath="//InteractivePaging" PageOfCaption=" OF " />

For a more detailed list of modifier actions see the following DevNet article.

TemplateModifierFiles can be in any folder accessable to the web application. When a directory location is not specified, the default location is the _SupportFiles folder.




Click element to drill down for more information.

Action.Show Bookmark Sharing
Active Query Builder
Analysis Chart
Analysis Filter
Analysis Grid
Bookmark Organizer
Chart Grid
Crosstab Comparison
Data Menu
Dimension Grid
Group Drillthrough
Report Author
ReportCenter Menu
Session Timeout
Theme Editor
Visualization Editing

 Back to top