A data source schema can be created for a Rational® DOORS® data
source. The data source schemas simplify authoring document templates
for modules with the same structure and similar attribute lists.
Procedure
- In Document Studio, click .
- In the New DOORS Schema Wizard window,
click Next.
- Specify the connection details:
- To use a running instance of Rational DOORS,
select Use running DOORS instance.
- To run Rational DOORS in
the background, select Run a new background DOORS process.
Specify the user name, password, database, and path to doors.exe.
- Select a view:
- Database view
- Project view
- Click Next.
- Select the attribute type:
- To add attributes to the main objects, Module/Object schema
elements, select Module and objects attributes.
- To add attributes for linked objects, Module/Object/Link/Linked schema
element, select Attributes of linked objects.
- Click Next.
- In the DOORS Module Selection window,
select a module from the Rational DOORS database
structure and click Next.
- In the DOORS Baseline window, select
a baseline for the module. The baseline that you select
determines which attribute set to use.
- Click Next.
- In the DOORS Attributes window, the
following attribute information is displayed:
- Attribute name: Lists attributes available
in the selected baseline.
- Scope: Displays the scope of the attribute
as a module or an object.
- Elevation name: The elevated name of the
attribute is the name used in script expressions. A valid name is
generated from the Rational DOORS attribute
name to prevent entering an invalid value. An elevated attribute allows
direct access to that attribute value from a Module/Object context.
Non-elevated attribute values are available only from a Module/Object/Attribute context.
Select a check box to specify an attribute or Select
All to select all attributes. The Deselect
All clears all attributes. Click Next.
- In the DOORS Views and Columns window,
select the view. Then select the check box for a column name to select
the column or Select All to select all column
names. Click Next.
Note: An elevation
name of the column displays in the Elevation Name column.
You can elevate columns from any number of views.
- In the Select Schema Options window,
enter the details for the following fields:
- Select Schema Location: Click Browse to
select the location to save the data source schema.
- Data Source Schema ID: Enter
the ID for the data source schema. For example: DOORS
1.
- Optional: Select the Add Data
Source Schema to the current Template check box to add
this schema to the open template. Click Next.
- Save the schemas to reuse them in other templates without
running the Schema Discovery Wizard again.
- Review the information in the summary window and click Finish.
Results
The schema is loaded in the Data Source Schemas view.
You can see the attributes and columns added to the Module/Object element.
What to do next
To reuse the schema:
- In Document Studio, click . The Add
Data Source Schema window opens. Click Next.
- In the Schema type field, select a schema
type.
- In the Schema file field, click Browse and
select a schema.
- In the Data Source ID field, enter a name
to display in the tab for the schema in the Data Source Schemas view.
- Click Next and Finish.