Enforce required metadata before asset publication in Adobe Experience Manager Assets
Adobe Experience Manager (AEM) Assets may allow assets to be uploaded and published even when metadata schema fields are configured as required because mandatory fields highlight missing information but don’t block publication. To resolve the issue, implement a custom workflow that validates required metadata and prevents assets from proceeding to publication until the required values are provided.
Description description
Environment
Adobe Experience Manager (AEM) Assets
Issue/Symptoms
- Metadata fields, such as Description, are configured as required in the metadata schema.
- AEM identifies missing required metadata but still allows assets to be uploaded and published.
- Asset publication must be prevented until the required metadata is completed.
Resolution resolution
Follow the steps below to resolve the issue:
-
Sign in to AEM as an administrator.
-
Go to Tools
>Workflow>Models. -
Create a workflow model or edit an existing workflow that runs before asset publication or activation.
-
Add a process step that checks the value of the required metadata field, for example, Description.
-
Configure the process step to determine whether the Description field is empty.
-
If the Description field is empty, configure the workflow to either:
- Stop the workflow and notify the author to complete the required metadata.
- Route the asset to an approval or validation step until the metadata is completed.
-
Ensure that the asset proceeds to publication only after all required metadata fields are populated.
-
Apply the workflow to the relevant asset folders or asset types as required.
-
Test the workflow by attempting to publish an asset without the required Description field. Confirm that publication is blocked and that the author is prompted to complete the metadata.
For more details on configuring metadata-driven workflows, refer to the official Adobe documentation.