How to Define a Repository Basket

Previous Next

See Also

To define a repository basket:

1. From the Repository Manager menu, select Define, Repository Baskets.

The Repository Baskets window opens.


You can also open this window from the Manage tab of the catalog, by double-clicking Repository Baskets.

2. Specify a Name for the repository basket, and optionally a Description.

For example: Structure, Rules, and TeamWork.


The name of a basket cannot contain any of the following characters:

\ / : * ? " < >

3. In the Repository field, specify whether this basket is a Definer (default), Authorizer, or BenchMark basket.
4. Save your changes.

All repository sections and tables of this USoft repository are inserted as basket sections and basket tables. Also, an Export Model is generated in XML format, and the Model Generated field is set to the current date and time.

The Export Model is also written to a file that is used when exporting a repository using this basket. For example to:

C:\XML Repository Manager\models\Structure, Rules, and TeamWork_basket.xml

5. In the Sections Exported… part of the window, delete or Exclude all sections that you do NOT want to be exported.
6. Likewise, for each included section, in the Tables Exported in this Section… part of the window, delete or Exclude all tables that you do NOT need.
7. Save your changes.

The Export Model is adapted automatically.

If you want to export specific columns only, or if you want to put restrictions on the records exported in your basket, it is possible to specify an additional SELECT and a WHERE clause. To do this:

8. Select the table for which you want to change the SELECT or WHERE clause.
9. Click the SELECT and WHERE Clause… button.

The Basket Table SQL Clauses window opens.

10. Use this window to overwrite the default SELECT and WHERE clause for this basket table.

For example, to specify to export only the table name and object name of those repository tables that are no logical views or component tables:

11. Save your changes.

The Export Model for the repository basket is regenerated. In the example above, this export model would now contain the following line:

<Tables table="T_TABLE" pk="1" select="TABLE_NAME, OBJECT_NAME" where="t_logical_view='N' and t_component_table='N'"/>