Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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?

chaitanyah54030
Level 1
Level 1
 
1 Accepted Solution
Nirmal_Jose
Correct answer by
Community Advisor
Community 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

0 Replies
berliant
Employee
Employee

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

berliant_0-1578493787004.png

chaitanyah54030
Level 1
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
Nirmal_Jose
Correct answer by
Community Advisor
Community 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