You can create a resource. A resource is a specific entity
in the product data source; for example, a defect in the IBM® Rational® ClearQuest® database.
A resource can have an XML schema associated with it.
Before you begin
A resource belongs to a resource group. Ensure that there
are resource groups under which you can place the new resource.
About this task
To create a new resource:
Procedure
- Click .
- Select the resource group under which you want to create
the new resource and click Next.
- Specify a name. The name must be unique within the resource
group to which the resource belongs and cannot contain any special
characters.
- Optional: Type a description.
- Specify the relative path:
- If you know the relative path of the resource, click Manual entry, type the URL of the resource, and click Finish.
- If the source type of the resource group of the resource is
a data service:
- Select Locate using data service to automatically
locate the relative path and click Next.
- In the XML schema tree, select the XML element that represents
the new resource. In the Properties view, select the attributes and
click Next.
- Select a resource URL and click Finish.
If you want to, you can click Back and Next to update the XML schema tree and continue the exploration
until you have selected an URL.
- If the source type of the resource group of the resource is
a generic XML file, do these steps:
- Specify a relative XML file path for the resource.
- If you do not want to associate the resource with a schema, click Finish. If you want to associate the resource with a
schema, click Resource has an associated XML schema, type the URL of the schema file, and click Finish.