A data source schema can be created for an Rational® DOORS® data source. The data source schemas simplify authoring
document templates for modules with the same structure and the same
or similar attribute lists.
Procedure
- In Document Studio, click .
- In the Welcome window, click Next.
- Specify the connection details:
- To use a running instance of Rational DOORS, select Use running DOORS instance and click Next.
- To run Rational DOORS in the background, select Run a new background
DOORS process and specify the Username, Password, Database,
and Path to doors.exe. Click Next.
- Select the attribute type:
- To add attributes to the main objects (Module.Object schema
element), select Module and objects attributes.
- To add attributes for linked objects (Module.Object.Link.Linked
Object schema element), select Attributes of linked objects.
- Click Next.
- In the DOORS Module Selection window,
select a module from the DOORS database structure and click Next.
- In the DOORS Baseline window, select
a baseline for the module and click Next. The
baseline that you select determines which attribute set to use.
- 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 whether it is a module
or an object.
- Elevation Name: The elevated name of the attribute. This is the
name used in script expressions. A valid name is generated from the
DOORS attribute name to prevent entering an invalid value. An elevated
attribute allows direct access to that attribute's 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 would deselect all attributes. Click Next.
- In the DOORS Views and Columns window,
in the left pane, select the view. In the right pane, select the check
box for the column name to select the column or Select
All to select all column names. Click Next.
Note: A elevation name of the column is displayed in
the Elevation Name column. You can elevate
columns from any number of views.
- In the Select Schema Options window,
enter the details in the following fields:
- Select Schema Location: Type
a location or click Browse to select the location
to save the data source schema.
- Data Source Schema ID: Type 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 so you can reuse them in other templates
without having to run the Schema Discovery Wizard again.
- In the DOORS Schema Summary window,
review the information and click Finish.
Results
The schema is loaded in the schema view. You can see the
attributes and columns added to the Module.Object element.