Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

I am trying to find all duplicate assets in the existing DAM by comparing dam:sha1 property. But I can see a few assets that don't have this property. How can I resolve this?

Avatar

Level 1
 
1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi Chaitanya,

Can you try running Add asset size workflow [1] to get the property for all the existing assets.

[1]host:port/libs/cq/workflow/admin/console/content/models.html/etc/workflow/models

View solution in original post

3 Replies

Avatar

Employee

You better to rely on jcr:uuid property. It's unique and should exist for all of your assets:

berliant_0-1578493787004.png

Avatar

Level 1
This won't work because I am trying to look for duplicate assets and the jcr:uuid property would be unique even for the duplicate assets

Avatar

Correct answer by
Employee Advisor

Hi Chaitanya,

Can you try running Add asset size workflow [1] to get the property for all the existing assets.

[1]host:port/libs/cq/workflow/admin/console/content/models.html/etc/workflow/models