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
January 8, 2020
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?

  • January 8, 2020
  • 2 replies
  • 3082 views
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.
Best answer by Nirmal_Jose

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

2 replies

Adobe Employee
January 8, 2020

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

March 30, 2020
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
Adobe Employee
Nirmal_JoseAdobe EmployeeAccepted solution
Adobe Employee
January 8, 2020

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