You can generate a document-style report from Launcher and
Document Studio.
Before you begin
Every template is associated with a blank document
specification by default. When you preview or publish a template from
the Document
Studio application, this blank document specification
can be customized or used without customization to generate the output.
The Document
Studio keeps the template in sync with the default document
specification when you open or save the template.Note: These instructions apply to most data sources, but not all data sources. For instructions for
each data source, see the
Integrating documentation for your data source.
About this task
You can generate document-style reports in several ways:
- You can generate document-style reports from both the Launcher and
Document
Studio
applications. This task outlines how to generate document-style reports from the application user
interface.
- From the location of a document specification on a file system, you can right-click the file and
click Publish withIBM Engineering Requirements Management DOORS
Engineering
Publishing. All errors are suppressed to generate the document-style report.
- You can also publish document-style reports from the user interface if the add-ins are
installed.
There is no difference in generating document-style reports from the Launcher
application or the Document Studio application. When you use the wizard to generate document-style
reports, the same options are provided in both applications. However, in the Launcher
application, you can also configure details for the document-style report generation in the Document
Specification and Properties views without using the wizard.
Procedure
- In the Launcher or
Document
Studio,
click .
You can also click the
Configure and generate document icon in the toolbar.
A configuration wizard opens where you can make further choices before you
generate the document-style report. The progress bar shows the information to configure in five sections:
- Templates
- Data sources
- Variables
- Output
- Summary
You can click a section or an item in the progress bar to jump to that page in the wizard.
Tip: If at least one data source and one output format are selected, you can click
Finish at any time to begin the document-style report generation or click
Next to continue with the configuration wizard.
-
The Templates section lists the templates in the document specification.
To add a template:
-
Select the location of the templates to add:
- From the central library: To select templates stored in Publishing Document
Builder
- From local or remote file: To select local or remote templates, you can
either enter a URL to a template or click Browse to select a template.
-
Select one or more templates to add.
- If you selected From the central library and selected templates from
Publishing Document
Builder,
click Add selected to add the templates to the document specification.
- If you selected From local or remote file and entered a URL to an
individual template, click Add URL to add the template to the document
specification.
- If you selected From local or remote file and browsed to add templates,
when you click Open, the templates are added to the document
specification.
- Optional:
Repeat to add more templates from other locations.
- Optional:
Reorder the templates in the document specification by selecting a template and clicking
Up or Down.
-
Click Next.
After you add a template, the data sources and variables that are specified in the
template are also added to the wizard.
- In the Data sources section,
configure each data source.
Note:
- If a data source has a default value or you enter a default URI, the data
source is listed as configured and the default value is used in the output unless you select another
value.
- If you move past the Data sources section and then click Back to change a
data source, the section always opens to the first data source in the list.
-
To select artifacts from a specific configuration, first set Global Configuration (GC) URL in the
Configuration context. Then, select an artifact by using Resource picker, otherwise Resource picker
displays the contents from a default stream of the selected project area.
- Select a data source from one of
the following locations:
- Manual configuration: To select a local or remote data source because no
other configuration information exists for this data source in the configuration layer.
- Load from configuration layer: To select a value from the configuration
metadata that was entered for the data source in the template.
-
Depending on the selection you made in the previous step, you can enter a URL for
the data source, click Browse to select one, or select a value from the
configuration layer.
- Select an authentication type.
If you do not select a type, each type is
tested until the correct type is found, which might increase document-style report generation time.
- Auto
- Basic - Use this setting to generate document-style reports from reports
that are exported from the Jazz® Reporting Service.
- Form
- OAuth
- OAuth-OSLC
- SSL
Certificate: Specify the certificate path and the password.
- Smart-Card: Enter the smart card certificate name and the
password.
- Kerberos-SPNEGO
- Enter your credentials for the data source application.
Note: The user can specify the user password or the application password that is generated by the
configured third-party identity provider, such as SAML or OIDC. User must select
Basic authentication method while using application password.
- Optional: Enter an accept
header.
The default value is application/xml,
*/*.
- Optional:
In the Extra headers field, select a POX (Plain Old XML)
link, for example <http://jazz.net/ns/profile#POX>; rel="profile". This
approach is useful when creating traceability
document-style reports from ELM
applications.
- Optional:
If you want to use your credentials with each data source, select the Apply these
user name and password values to every configured and unconfigured data source
option.
-
Click Next.
- In the Variables section,
configure each variable.
Note:
- If a variable has a default value, it shows as configured and the output uses the default value
unless another value is selected.
- If you move past the Variables section and then click Back to make
further changes to a variable, the section always opens to the first variable in the list.
-
From the drop-down menu, select an option:
- Manual configuration: To enter any value for the variable if there isn't
any other configuration information for this variable in the configuration
layer.
- From configuration layer: To select a value from the configuration
metadata that you entered for the variable in your template.
- Enter or select a value for the configuration.
- Click Next.
- In the Output section,
select the output types to generate:
- Microsoft Word
- PDF
- HTML
- XSL-FO
- Excel
- Optional:
For the Save location, click Browse to select a
path to save the file for each output type.
You can edit the path to be a relative path from the document specification. If you don't
specify a save location for the output, the file is generated in a temporary location.
- Optional:
For the Style sheet, click Browse to select a
style sheet to use for generating each type of output.
- Optional: Microsoft Word/Excel
output only: For the Macro name, enter the name of the macro that is
contained within the style sheet.
- Optional:
Microsoft Excel output only: To insert a new sheet
in the workbook, add the document break element. To specify the name of the
new sheet, add it as a property of the document break. Make sure that the name is short enough to
fit on the tab for the worksheet.
- Optional:
To enter more metadata or configure other document-style report properties that are not
included in the wizard, click Edit metadata properties.
- Click Next.
-
Verify the template and output information in the summary window.
- Select which action
to take when you click Finish:
- Run the document generation: Generates the output
types that you specified.
- Run the document generation and quit PUB: Generates
the output types that you specified and closes the application after you exit the Results
window.
- Save and close this wizard without generating the
document: Closes the document generation wizard but keeps Launcher open.
- Click Finish.
Tip: If you are generating the document-style report remotely, you can close the
Document
Studio or
Launcher
application before the document-style report generation completes without interrupting the process.
If you are generating the document-style report locally, do not close the Document
Studio or
Launcher
application until the document-style report generation completes.
Results
The document specification is loaded in the Launcher and
generates or saves the document-style report, depending on the selections.
What to do next
Review the information from the document-style report generation in the Console or
Problems views to identify issues. After you fix the issues, generate the output again.
After you configure the document-style report generation one time, on subsequent document-style
report generations, you can click to generate the document-style report without completing the configuration
wizard.