After you create artifacts in the application, you can
delete unrequired artifacts in the application, by using IBM® Rational® Focal Point™.
About this task
When you delete the artifacts, the URL stored in the
Choose
URL Attribute to REST Artifact attribute is also deleted.
Procedure
- In Rational Focal Point,
open the workspace.
- Click and
click Add view command.
- Select a view where you want to add the view command.
- In REST Client Command Configuration section, complete
these steps:
- In REST Client Connector Name,
type a name to identify the connection.
- In REST Request Method, select
the DELETE method. For information
about using each method, see the "Supported methods to manage resources"
topic.
- In Friends List, select the application
that you added as a friend to Rational Focal Point.
- In Choose URL Attribute to REST Artifact,
click Select, and select an attribute. This attribute stores the URL of the artifact that is in the
application.
- To map the IDs of the attributes between Rational Focal Point and
the application, in the Request Parameter Table section, click Add,
and select a Rational Focal Point attribute.
Type the ID of the application in the Key column. For example, if you select Project ID for Rational Focal Point,
in the Key column, type the ID that is used
for the project ID in the application.
- In the Request Header Mapping section, click Add,
and type the name and value of the header. For the Rational solution for
Collaborative Lifecycle Management applications,
the headers are as follows:
| Header name |
Header value |
| Accept |
application/rdf+xml |
| Content-Type |
application/rdf+xml |
| OSLC-Core-Version |
2.0 |
- Click Save.
- In the Display menu, click a view.
- To delete all the artifacts, from the view toolbar click
the dropdown list and select the DELETE view command and then click
the Go icon
.
- To delete one artifact, from the artifact toolbar select
the DELETE view command and then click the Go icon
.