dam:size is not added to metadata of Asset | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
shrotiAccepted solution
Employee
Jun 27, 2018 5:39 AM UTC

I am not able to reproduce this in AEM 6.2 (latest SP + CFP), I can see dam:sha1, dam:size and dam:extracted are getting saved on metadata node for all type of files including mp3/mp4.  Is there any customization around asset processing/handling done in your case? Can you please check if there is any error in logs (error.log) logged during asset processing (dam_update_asset) workflow? Share the same to understand the issue better.

Thanks,
Ashutosh

6 replies

shrotiAccepted solution
Employee
Jun 27, 2018 5:39 AM UTC

I am not able to reproduce this in AEM 6.2 (latest SP + CFP), I can see dam:sha1, dam:size and dam:extracted are getting saved on metadata node for all type of files including mp3/mp4.  Is there any customization around asset processing/handling done in your case? Can you please check if there is any error in logs (error.log) logged during asset processing (dam_update_asset) workflow? Share the same to understand the issue better.

Thanks,
Ashutosh

Translate
smacdonald2008
Level 10
Jun 26, 2018 5:08 PM UTC

I asked the asset team to look here to answer questions about those specific file types.

Translate
selvaganesh
Level 5
Jun 26, 2018 3:40 PM UTC

the add size workflow adds the size but not dam:sha1.

Metadata processor workflow step fails to add the property for mp3,mp4 (but works fine for ai/eps files). Just wondering if there is any configuration which disables adding dam:size,dam:sha1

Translate
smacdonald2008
Level 10
Jun 26, 2018 3:20 PM UTC

Did you try the workflow that Yanira Castaneda suggests.

Translate
selvaganesh
Level 5
Jun 26, 2018 2:19 PM UTC

dam:extracted and dam:sha1 is also missing

Translate
Employee
Jun 25, 2018 11:31 PM UTC

selvaganesh you could run the 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