Enabling dependent fields for HCL Compass Web using the packageutil command

If you want to use dependent fields in HCL Compass Web client, you can also use the packageutil setwebdependtfields command. When using the setwebdependentfields command, you do not have the form controls limitations that you have when using depending fields in the Designer.

About this task

The configuration steps described in this section are performed using the packageutil command.

The web dependency property is generalized to apply to any field. By using the packageutil setwebdependentfields command, an administrator can modify a schema to make any fields be web dependent no matter what type of form control is used for the field.

Note: Note the following:
  1. The schema must not be open in the designer when running the packageutil commands.
  2. This packageutil command is only supported for setting web fields web dependent property.
  3. The schema rev that was modified must be validated and checked in, and then a user database upgraded to use that new schema rev with the web dependency changes.

Procedure

To make a form with dependent fields available in HCL Compass Web, run the packageutil command.
  1. Run the packageutil command. The following example sets the Headline and Severity fields to be web dependent in the Defect record type in the DefectTracking schema in the schema repository for the dbset named Alpha. The example also includes the "-nocheckin" option.
    packageutil setwebdependentfields -dbset Alpha admin "" DefectTracking Defect headline 1 severity 1 -nocheckin
    
    Note: The value 1 sets the field to be web dependent. The value 0 clears the field as a web dependent field.
  2. To see all the web dependent fields set by the packageutil setwebdependentfields command, see the following example:
    packageutil showwebdependentfields -dbset Alpha admin "" DefectTracking defect