Deleting artifacts in the application by using Rational Focal Point

After you create artifacts in the application, you can delete unrequired artifacts in the application, by using IBM® Rational® Focal Point™.

Before you begin

About this task

When you delete the artifacts, the URL stored in the Choose URL Attribute to REST Artifact attribute is also deleted.

Procedure

  1. In Rational Focal Point, open the workspace.
  2. Click Configure > REST client view command and click Add view command.
  3. Select a view where you want to add the view command.
  4. In REST Client Command Configuration section, complete these steps:
    1. In REST Client Connector Name, type a name to identify the connection.
    2. In REST Request Method, select the DELETE method. For information about using each method, see the "Supported methods to manage resources" topic.
    3. In Friends List, select the application that you added as a friend to Rational Focal Point.
    4. 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.
  5. 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.
  6. 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
  7. Click Save.
  8. In the Display menu, click a view.
  9. 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 Go.
  10. To delete one artifact, from the artifact toolbar select the DELETE view command and then click the Go icon Go.

Feedback