Detect duplicate assets detect-duplicate-assets
If a DAM user uploads one or more assets that already exist in the repository, Experience Manager detects the duplication and notifies the user. Duplicate detection is disabled by default as it can have performance impact depending on size of repository and number of assets uploaded.
To enable the feature:
-
Navigate to Tools > Assets > Assets Configurations.
-
Click Asset Duplication Detector.
-
On the Asset Duplication Detector page, click Enabled.
dam:sha1
value for the Detect Metadata field ensures that duplicate assets are detected even if the filenames are different. -
Click Save.
/apps/example/config.author/com.adobe.cq.assetcompute.impl.assetprocessor.AssetDuplicationDetector.cfg.json
configuration file (OSGi configuration), you can continue to use it, however, Adobe recommends using the new method.Once enabled, Experience Manager sends notifications of duplicate assets to the Experience Manager Inbox. It is an aggregated result for multiple duplicates. Users can choose to remove the assets based on the results.