This tutorial module illustrates how to use the ClearQuest® CM API to modify
a record in a user database.
After you have identified an available user database and
are logged in to it, you can use the ClearQuest CM API to access resources,
such as a record in a user database. This module provides an example
for retrieving and then modifying a record. The code example in this
module extends the previous example (viewing a record) by setting
new values in a proxy and then using the doWriteProperties method
to make the changes to the record in the database.
Learning objectives
After completing
the lessons in this module you will accomplish these objectives:
- Learn about the ClearQuest CM
API object and programming models for making changes to Rational® ClearQuest records and field values
- Understand the ClearQuest CM
API interfaces for making changes to a record and its field values
- Learn about using doWriteProperties for making changes to the
resource in the product repository
- Understand how to write client application code for editing records
Time required
This module should take
approximately 40 minutes to complete.
Prerequisites
To complete this module,
you should first complete the previous module, where you learned how
to view a CqRecord and use the PropertyRequest object for requesting
property values of the record.