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? | Community
Skip to main content
New Participant
Jan 8, 2020 12:49 PM UTC
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?

No text available
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Nirmal_Jose
Nirmal_JoseAccepted solution
Employee
Jan 8, 2020 3:03 PM UTC

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

3 replies

Nirmal_Jose
Nirmal_JoseAccepted solution
Employee
Jan 8, 2020 3:03 PM UTC

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

Translate
Employee
Jan 8, 2020 2:30 PM UTC

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

Translate
New Participant
Mar 30, 2020 11:19 AM UTC
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
Translate