Loading...

What are dependent metadata fields?

A dependent metadata field is a field that's tied to another metadata field. When one parent field is completed, the dependent child field must also be completed. Only certain types of metadata can have dependent metadata.

You can set up parent metadata fields and child dependent metadata fields on the Metadata types page under Search Settings in the Admin app of Acquia DAM. Parent fields must be dropdown fields. Dependent fields can be any type of field (checkbox, numeric, text), except for dropdown fields. Dependent fields display only if you select a specific value in parent fields.

If the same metadata fields are used in different metadata types, and the fields have dependent metadata, ensure the dependencies are applied in all types. If dependent fields are applied to one metadata type but not others, assets may not be displayed appropriately in search results.


A parent field can have multiple dependent fields. For example, a parent dropdown field could be Product Brand Name. Four corresponding child dependent fields could be Product Description, Product Type, Manufacturer, and Product Size.

Asset type and photo type parent and dependent fields

If you select Photography in the Asset Type parent field in the example below, a Photo Type dependent field displays. If you choose something other than Photography in the parent field, a different dependent field displays.



Find more information about metadata field formats in this article.

One of the most common uses for dependent metadata is for licensing of assets and rights management restrictions. The parent field can indicate if licensing restrictions apply, and if "yes" is chosen, the dependent field displays to allow users to indicate the specific restrictions.

You can refine searches by dependent metadata fields if you enable the Show Dependent Metadata Fields in Refine Search feature on the Features page. "Yes" must be selected in the Search Filter option for a metadata type for dependent fields to display in refined searches. Dependent fields will always display when refining searches, even if the parent field is not chosen to display.

 

 

Create dependent metadata fields

To create dependent metadata fields:

  1. Go to the Admin app.
  2. Click Metadata types under Search Settings in the left navigation.
  3. Select a metadata type or click Edit Fields to add a dependent field to an existing metadata field.
  4. Click Create field and enter a field name and key, then select the dropdown list option for the field type.
  5. Under "Does this field have dependencies?" select Yes. You'll create values in the next step and assign dependencies to those values.
 

 

To create list values for a metadata type:

  1. Click Edit by List Values.
  2. Enter a value and click Add. The values display as you add them; you can sort them so they display alphabetically or drag and drop them to reorder.
  3. Click Done when you've added all the values.
 

 

After you're done, you'll assign previously created metadata fields as dependent fields. They'll display after the parent field on the Metadata types page in the Admin app.

To assign dependencies, click Assign Dependencies for the values you've just created. You'll see a list of metadata fields that have been created and their dependency status. Select the fields you want as dependent fields for the values you created. For example, for the Photo value, Department and Product Line are dependent fields. Those will need to be completed when Photo is selected in the Asset Type field. If you need additional values, like Region or Launch Year, click Not Selected. That will change to Selected and will be a dependent field for the Photo metadata field.

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Back to Section navigation