You can define hooks for a field in a record. You can customize
hooks by incorporating scripts that use the Rational® ClearQuest® API.
About this task
To define a field hook:
Procedure
- Start the Designer.
- To display the Fields grid, in the Workspace expand
a record type and double-click Fields.
- For a field in the Fields grid, select a hook type
by right-clicking in one of the columns in the grid for the field and selecting Scripts.
- Select a scripting language. The Scripts editor
appears.
- Define the hook using the ClearQuest API.
- When you finish editing a scripted hook, click to
check the syntax of your code.