Create a resource by importing a Engineering Publishing
template.
Procedure
In either the web client or the Eclipse client, create a report resource that contains
a Engineering Publishing
template and its associated files:
- To import a template in the web client:
- In the main menu, click .
- Click Create Resource.
- Enter a name for the report resource.
- Optional: Edit the description.
- In the Identifier field,
specify the ID for the report resource.
Learn more about how are identifiers used: When you add a report resource or define one in a process template, there is an
Identifer field. In certain cases, where reports are referenced by other
artifacts, the report resource identifier is important. Example:
- In the dashboard, the Trend Report viewlets search for reports with particular identifiers. If
they are found, the dashboard viewlet displays and is usable.
- In the Iteration Plan editor, the Charts tab looks
first for a report template with the identifier
apt.WorkItems
. If that identifier
is not found, the identifier workitems.OpenWorkItemsByType
is used.
- The dashboard viewlets offer drill-in support from the viewlet to a full-scale report. These
references are by ID.
- Some reports provide drill-in capabilities from one report to another. These references are by
ID. For example, you can drill in from Work Items by Team Area to
Work Items by Owner, or from Build Health to
Build Result.
The only requirement for the identifier is that it be unique within the project area (i.e., you
can't have two report resources in the same project with the same identifier).
If you are just deploying a report for stand-alone use
(no dashboard or other report is referencing it), you can use whatever
ID you want, or none at all.
-
In the Contents area, click Browse and select a
Engineering Publishing
template (.dta).
- If there is an associated document specification file
or style sheet that the template requires, in the Files area,
click the New File icon to select the documents.
- Document specification files (.dsx)
-
- A document specification is not required for every template. If you are including a document
specification only to provide data source URLs or variable values, you can configure those items in
your IBM
Engineering Lifecycle Management (ELM)
application instead of in a document specification. A .dsx file is required when using a style sheet
for Microsoft Word output and can also be used for PDF
output.
-
Important: If you do include a document specification, verify that the HTML output type
is configured in it. You must have HTML output available to generate the report in the ELM
application. To export the report from the ELM
application into Microsoft Word or PDF output, you must
also specify those output types in the document specification.
- In the .dsx file, the path to the template is not required, but the template field is
required.
- In the .dsx file, the data source URL should be left blank.
- Style sheet files (.css, .dot)
-
- If a style sheet is specified for an output type in the document specification, you must also
add that style sheet to the resource.
- In the document specification, when you configure the style sheet for the output, ensure that
the value of the stylesheet property is the name of the file only. Do not
include a filepath.
- The template file for Microsoft Word document
generation must be renamed to template.dot before uploading it to the report
resource in Quality Management.
- The template file for Microsoft Word document
generation must be renamed to template.dot before uploading it to the report
resource in Quality Management.
To edit the stylesheet property in the document specification:
- Open the document specification in the Launcher application.
- Right-click the output type.
- Click Configure stylesheet.
- Select a style sheet.
- Remove the path to the style sheet so that only the name of the file displays.
- Incorrect: C:\stylesheets\template.dot
- Correct: template.dot
- Click OK and save the changes.
Repeat to add each associated file.
- Optional: To make this report
accessible by all members of the project or team area, in the Project/Team
Area section, select the Shared check box.
- Optional: In the Caching area,
select Supports data caching.
- Optional: To set the report
as default in the planning editor, in the Planning area, select Set
as Default Report.
- Click Save.
The report resource is now updated with the new report
design file.
- To import a template in the Eclipse client:
- In the Team Artifacts view, expand
a Project Area and Reports.
- Right-click Report Resources and
click .
- Enter a name for the report resource.
- Optional: Edit the description.
- In the Identifier field,
specify the ID for the report resource.
Learn more about how are identifiers used: When you add a report resource or define one in a process template, there is an
Identifer field. In certain cases, where reports are referenced by other
artifacts, the report resource identifier is important. Example:
- In the dashboard, the Trend Report viewlets search for reports with particular identifiers. If
they are found, the dashboard viewlet displays and is usable.
- In the Iteration Plan editor, the Charts tab looks
first for a report template with the identifier
apt.WorkItems
. If that identifier
is not found, the identifier workitems.OpenWorkItemsByType
is used.
- The dashboard viewlets offer drill-in support from the viewlet to a full-scale report. These
references are by ID.
- Some reports provide drill-in capabilities from one report to another. These references are by
ID. For example, you can drill in from Work Items by Team Area to
Work Items by Owner, or from Build Health to
Build Result.
The only requirement for the identifier is that it be unique within the project area (i.e., you
can't have two report resources in the same project with the same identifier).
If you are just deploying a report for stand-alone use
(no dashboard or other report is referencing it), you can use whatever
ID you want, or none at all.
- Optional: To make this report
accessible by all members of the project or team area, in the Project/Team
Area section, select the Shared check box.
-
In the Contents area, click Browse and select a
Engineering Publishing
template (.dta).
- Optional: In the Caching area,
select Supports data caching.
- If there is an associated document specification file
or style sheet that the template requires, in the Files area,
click Add to select a document.
- Document specification files (.dsx)
-
- A document specification is not required for every template. If you are including a document
specification only to provide data source URLs or variable values, you can configure those items in
your IBM
Engineering Lifecycle Management (ELM)
application instead of in a document specification. A .dsx file is required when using a style sheet
for Microsoft Word output and can also be used for PDF
output.
-
Important: If you do include a document specification, verify that the HTML output type
is configured in it. You must have HTML output available to generate the report in the ELM
application. To export the report from the ELM
application into Microsoft Word or PDF output, you must
also specify those output types in the document specification.
- In the .dsx file, the path to the template is not required, but the template field is
required.
- In the .dsx file, the data source URL should be left blank.
- Style sheet files (.css, .dot)
-
- If a style sheet is specified for an output type in the document specification, you must also
add that style sheet to the resource.
- In the document specification, when you configure the style sheet for the output, ensure that
the value of the stylesheet property is the name of the file only. Do not
include a filepath.
- The template file for Microsoft Word document
generation must be renamed to template.dot before uploading it to the report
resource in Quality Management.
- The template file for Microsoft Word document
generation must be renamed to template.dot before uploading it to the report
resource in Quality Management.
To edit the stylesheet property in the document specification:
- Open the document specification in the Launcher application.
- Right-click the output type.
- Click Configure stylesheet.
- Select a style sheet.
- Remove the path to the style sheet so that only the name of the file displays.
- Incorrect: C:\stylesheets\template.dot
- Correct: template.dot
- Click OK and save the changes.
Repeat to add each associated file.
- Optional: To set the report
as default in the planning editor, in the Planning area, select Set
as Default Report.
- Click OK.
The report resource is now updated with the new report
design file.