Templates operate with data schemas, not with actual data
sources. You can add a data source schema to an open template.
Before you begin
You can use the Schema Discovery feature to create a data
source schema and then proceed to add it to the template.
Procedure
- Perform one of the following steps:
- In Document Studio, click the .
- In the Outline view, click .
- In the Schema view, click
.
- In the Add Data Source wizard Welcome
page, click Next.
- Select a new data source schema:
- In Schema type, select the type
of the schema from the list. You can select any of the following data
sources: Generic XML, REST, IBM Rational DOORS, Rational DOORS structure, IBM Rational Tau.
- In Schema file, click Browse to
select the path for the schema file. The schema can be
on the local file system or on any URI that is accessible from the
computer. You must provide a full path. This is auto selected from
the schema type specified. You can select another file if needed.
Tip: To construct a specific resource type schema, open your
data source schema and from the .xml file take the URI for a particular
resource. Then, add
metadata=schema to the
end of the URI. Examples:
- http://server:port-number/fp/resources/workspaces/4/modules/1/elements/?metadata=schema
- https://server:port-number/jazz/rpt/repository/workitem?metadata=schema
To ensure that you are receiving a complete list of returns
from a Rational Quality
Manager feed datasource, you must set the schema type as Generic XML
and add abbreviate=false to the end of the
URI. Example: https://rqmserver:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE
Banking (Quality Management)/testcase?abbreviate=false
- In Data Source ID, type the name
for the data source in the template. For example, DOORS 1.
- Click Next.
- In the Summary window, review the
information and click Finish.
Results
The data source schema is added to the template. You can
see the schema in the Outline view and in the Schema view.