Enabling dependent fields for DevOps Plan Web using the packageutil command
If you want to use dependent fields in DevOps Plan 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:
- The schema must not be open in the designer when running the packageutil commands.
- This packageutil command is only supported for setting web fields web dependent property.
- 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 DevOps Plan Web, run the packageutil command.
-
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 -nocheckinNote: The value 1 sets the field to be web dependent. The value 0 clears the field as a web dependent field. -
To see all the web dependent fields set by the packageutil
setwebdependentfieldscommand, see the following example:packageutil showwebdependentfields -dbset Alpha admin "" DefectTracking defect