Conceptual examples
This section includes code examples that help illustrate many of the common Rational® ClearQuest® customizations available through the API.
- Opening a prepopulated form
- Opening a URL
- Generating a custom message
- Getting and setting attachment information
- Building queries for defects and users
- Updating duplicate records to match the parent record
- Managing records (entities) that are stateless and stateful
- Extracting data about an EntityDef (record type)
- Extracting data about a field in a record
- Using field path names to retrieve field values
- Showing changes to a FieldInfo (field) object
- Showing changes to an Entity (record) object
- Running a query and reporting on its result set
- Running a query that has dynamic filters
- Getting a list of defects and modifying a record
- Sorting a result set
- Getting session and database information
- Running a query against more than one record type
- Creating a dependent choice list
- Triggering a task with the destination state
- Adding and removing users in a group
- Upgrading user information
- Workspace security example
- Controlling multirecord update edit operations
As a Rational ClearQuest administrator or schema designer, you can write hook code that uses multirecord update status information to implement multirecord update controls. - Detecting whether a record is in multirecord update mode
You can detect whether a record is in multirecord update mode by using the ratl_MultiModifyBatchMode session variable.
Parent topic: Examples of Hooks and Scripts