Skip to content

Class: metadata

Dependent fields allows you to configure a relationship between a controlling field and one or more controlled or dependent fields.

AttributeMetadataDescription
doctypeType: ComponentThe Doctype the field dependency applies to.
docfieldType: ComponentThe Docfield the field dependency applies to.
docfield_multi_valueType: String
Max length: 2147483647
Multi-value
Specifies the field value or values that trigger the action.
docfield_valueType: String
Max length: 2147483647
Specifies the field value that triggers the the action. This attribute cannot support individual values containing a comma, for example, “Tanzania, United Republic of”. This attribute is deprecated as of 19R2.3.
deprule_docfieldType: Component
Required
Specifies the Docfield the dependency rule applies to.
deprule_docfield_actionType: Enum
Required
Allowed values:
  • isHidden
  • isReadOnly
  • isVisible
  • isRequired
  • picklist
The action applied. Specifies the actions to take on the field values.
deprule_docfield_multi_valuesType: String
Max length: 2147483647
Multi-value
The value(s) available when deprule_docfield_action is picklist.
deprule_docfield_valuesType: String
Max length: 2147483647
The value(s) available when deprule_docfield_action is picklist. This attribute cannot support individual values containing a comma, for example, “Tanzania, United Republic of”. This attribute is deprecated as of 19R2.3.
lifecycleType: String
Max length: 2147483647
The Doclifecycle the dependency rule applies to.
stateType: String
Max length: 2147483647
The Doclifecycle state the dependency rule applies to.
roleType: String
Max length: 2147483647
The Doclifecycle role the dependency rule applies to.
OperationSupport
Create
Recreate
Alter*
Drop
Rename
Describe
Generate Recreate
Queryable

Notes:

  • Alter: MDL Operation may not be supported for some multi-value attributes.