- Introduction to Mail & Deploy
- Architecture
- Installation
- Administration
- Content Management
- Tools
- Self-Service
- API
- Reference
- Actions
- Introduction to Actions
- Activate Culture
- Activate Datasource Bookmark
- Activate Datasource Theme
- Add Content To File Collection
- Click Datasource Button
- Convert Content
- Create File Collection
- Create Report Document
- Cycle
- Distribute Report Document To Library
- Execute Code
- Execute Task
- Filter Datasource Field
- Group
- Initialize Datasource Object
- Merge File Collection Content
- Merge Report Document
- Print Content
- Rebuild Datasource Cache
- Reload Datasource
- Reload Value Table
- Remove All Content From File Collection
- Remove All Datasource Field Filters
- Remove Datasource Field Filter
- Remove Datasource Field Filter Restrictions
- Run Application
- Save Content To File System
- Save Datasource
- Save Datasource To File System
- Save Reduced Datasource To File System
- Save Splitted Report Document To File System
- Send E-Mail
- Set Datasource Variable
- Set Local Variable
- Synchronize User Directory
- Upload Content To Amazon AWS S3
- Upload Content To Box
- Upload Content To Dropbox
- Upload Content To Files.com
- Upload Content To FTP
- Upload Content To Google Drive
- Upload Content To SharePoint
- Write Text File
- Expressions
- Introduction to Mail & Deploy Expressions
- Data Types
- Placeholders
- Functions
- Capitalize
- Concat
- ConvertToBoolean
- ConvertToDate
- ConvertToDateTime
- ConvertToNumber
- ConvertToText
- CreateList
- CreatePassword
- EncodeUri
- EvaluateDatasourceExpression
- Format
- GetAllDatasourceFieldValues
- GetApplicableDatasourceFieldValues
- GetDatasourceVariableValue
- GetFileCollectionSize
- GetFilteredDatasourceFieldValues
- GetFirstDayOfIso8601WeekOfYear
- GetIso8601WeekOfYear
- GetLocalVariable
- GetQlikSenseColor
- GetQlikSenseTextImageContent
- Left
- NewLine
- PasswordProtectReportDocument
- QueryValueTable
- Right
- Replace
- RGB
- SetLocalVariable
- Split
- Substring
- Table.RemoveRow
- Table.RemoveRows
- ToLower
- ToUpper
- Execution Plans
- File Collections
- File Type Settings
- Format Strings
- Hub Input Field Specifications
- MSO Chart Settings
- Styles
- Table Cell Types
- Themes
- Actions
- Release Notes
- 16 Apr 2024
- 1 Minute to read
- DarkLight
Templates - XML Reports
- Updated on 16 Apr 2024
- 1 Minute to read
- DarkLight
General
Every template of a XML Report is a text file that contains constant text and references to Elements which will be replaced by the content of the element during the creation of the report document.
Properties
Every template has the following properties:
Name | Description |
---|---|
Name | The name of the template. |
Managing Templates
Templates can me modified by opening the report in the Report Designer: To create a new template or import an existing XML file as a template, right-click the Templates folder in the content explorer and choose New Template or Import Template. To edit the contents of a template, double-click the template item in the content explorer. To delete an existing template, right-click the template item in the content explorer and click Delete Template.
Single-Template Operation
If the XML Report has only one template, that template will always be used when a report document is created from the report. In that case, the Template Name(s) property of the report can be left empty.
Multi-Template Operation
Mail & Deploy supports multiple templates per XML Report and can merge templates to one large template at runtime.
Examples
The following Expression returns a single template name from which to create the report document:
"Template1"
When using the following Expression, the templates Template1 and Template2 will be merged and the report document will be created from the merged templates:
CreateList("Template1", "Template2")