Configure cascading metadata in Experience Manager
Consider a scenario where you want to display cascading metadata based on the type of asset that is selected. Some examples
- For a video, display applicable fields such as format, codec, duration, and so on.
- For a Word or PDF document, display fields, such as page count, author, and so on.
Irrespective of the asset type chosen, display the copyright information as a required field.
-
Tap/click the Experience Manager logo, and go to Tools > Assets > Metadata Schemas.
-
In the Schema Forms page, select a schema form and then tap/click Edit from the toolbar to edit the schema.
-
(Optional) In the metadata schema editor, create a new field to conditionalize. Specify a name and property path in the Settings tab.
To create a new tab, tap/click + to add a tab and then add a metadata field.
-
Add a Dropdown field for asset type. Specify a name and property path in the Settings tab. Add an optional description.
-
Key-values pairs are the options provided to a form-user. You can provide the key-value pairs either manually or from a JSON file.
- To specify the values manually, select Add Manually, and tap/click Add Choice and specify the option text and value. For example, specify Video, PDF, Word, and Image asset types.
- To fetch the values from a JSON file dynamically, select Add Through JSON Path and provide the path of the JSON file. Experience Manager fetches the key-value pairs in the real time when the form is presented to the user.
Both options are mutually exclusive. You cannot import the options from a JSON file and edit manually.
NOTE
When you add a JSON file, the key-value pairs are not displayed in the metadata schema editor but are available in the published form.NOTE
When adding choices, if you click the Dropdown field, the interface is distorted and the delete icon for the choices stops working. When adding the choices to the dropdown, do not click back on the dropdown till you save the changes. If you face this issue, save the schema and open it again to continue editing. -
(Optional) Add the other required fields. For example, format, codec, and duration for the asset type video.
Similarly, add dependent fields for other asset types. For example, add fields page count and author for document assets, such as PDF and Word files.
-
To create a dependency between the asset type field and other fields, choose the dependent field and open the Rules tab.
-
Under Requirement, choose the Required, based on new rule option.
-
Tap/click Add Rule and choose the Asset Type field to create a dependency. Also choose the field value upon which to create the dependency. In this case, choose Video. Tap/click Done to save the changes.
NOTE
Dropdown with manually predefined values can be used with rules. Dropdown menus with configured JSON path can’t be used with rules that use predefined values to apply conditions. If the values are loaded from JSON at runtime, it is not possible to apply a predefined rule. -
Under Visibility, choose the Visible, based on new rule option.
-
Tap/click Add Rule and choose the Asset Type field to create a dependency. Also choose the field value upon which to create the dependency. In this case, choose Video. Tap/click Done to save the changes.
NOTE
Tapping/clicking on whitespaces (or anyplace other than values) will reset the values. In this case, you must select them again.NOTE
You can apply Requirement condition and Visibility condition independent of each other. -
Similary, create a dependency between the value Video in the Asset Type field and other fields, such as Codec and Duration.
-
Repeat the steps to create dependency between document assets (PDF and Word) in the Asset Type field and fields such as Page Count and Author.
-
Click Save. Apply the Metadata Schema to a folder.
-
Navigate to the folder to which you applied the Metadata Schema and open the properties page of an asset. Depending upon your choice in the Asset Type field, pertinent cascading metadata fields are displayed.
Figure: Cascading metadata for Video asset
Figure: Cascading metadata for document asset
More help on this topic
The Perfect Blend: A New Era of Collaboration with AEM and Workfront
Adobe Customer Success Webinars
Wednesday, Apr 2, 5:00 PM UTC
Explore how Adobe Experience Manager and Workfront integrate to help teams move from ideation to delivery without the usual bottlenecks, ensuring content is organized, on-brand, and ready to go live faster.
RegisterAdobe Experience Manager Assets at Summit
Register for these sessions:
- The Future of Digital Asset Management (attend online)
- A Damn Good DAM: Intel’s Blueprint for Enterprise-Wide Asset Management (attend online)
- Elevate and Empower Teams with Agentic AI for Exceptional Experiences (attend online)
- Put the Customer at the Center and Build Relationships That Last a Lifetime (attend online)
- The True Cost of a Failed Implementation (attend online)
Connect with Experience League at Summit!
Get front-row access to top sessions, hands-on activities, and networking—wherever you are!
Learn more