Before documents can be generated, the templates and data
sources need to be connected. This connection information is maintained
in the document specification file that is stored on your system.
About this task
You can create and edit a document specification file using
the stand-alone Launcher or the Launcher embedded in the Document
Studio. As part of configuring all properties for a document execution
from a document specification, you can provide values for output properties,
data sources properties, template properties, and values of variables.
Procedure
- Open a document specification by one of the following methods:
- Browse for the required document specification (.dsx)
file and click Open.
- Optional: In the Properties tab,
enter values for the following:
- metadata: Enter a brief description,
specify values for data and time patterns, data formatting, and output
locales.
- output: Enter the location to
generate the document. Also select the style sheet for your target
output format.
- data source: Point to a general
data source, which retrieves all the related data within the repository,
or you can use filters, which are more specific URIs that retrieve
a smaller set of data from the repository.
- username and password:
You can enter login credentials to access the specified data source.
If this document specification is going to be shared with other users,
you might want to leave the credentials fields blank. If the credentials
are not specified and you try to run a report from the document specification,
you are prompted for credentials. If you provide the credentials and
try to run the report, the specified credentials are used to access
the repository.
- variable: Enter the values for
the variables to be used when generating the output.
Note: If
a value is not provided for a variable, the default variable value,
if any, is used.
- Click the Save icon.