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
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM 6.2 custom asset metadata change not updating modified date

Avatar

Avatar
Validate 1
Level 2
mickjleroy
Level 2

Likes

5 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
mickjleroy
Level 2

Likes

5 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
mickjleroy
Level 2

16-07-2017

I've added a new metadata field to the JPEG schema by following the steps at: Metadata Schemas

The text field appears as expected when I modify a JPEG asset and the field value is updating properly in the JCR; However, I have noticed that the asset's modified date is not updated when modifying the value of the custom metadata. The modified date is updated when modifying out of the box fields like "title".

Custom metadata changes used to update the modified date in 6.0; Is this a bug with 6.2 or is this intentional?

Thanks for your help

UPDATE:

I thought it might be worth pointing out that I also added a custom metadata field using the Classic UI approach (/libs/dam/content/asseteditors/image) and it also doesn't update the modified date.

UPDATE 2:

The custom property that I have added is stored as a child node of metadata (i.e. /content/dam/<path-to-asset>/jcr:content/metadata/customnode).

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 5
Level 3
ashu4pma
Level 3

Likes

17 likes

Total Posts

38 posts

Correct Reply

15 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Level 3
ashu4pma
Level 3

Likes

17 likes

Total Posts

38 posts

Correct Reply

15 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
ashu4pma
Level 3

11-08-2017

When user modifies {Properties}  at <asset>/jcr:content/metadata node, the workflow "DAM MetaData Writeback" gets triggered and update the last modified date of an Asset. If you look at the launcher condition of workflow "DAM MetaData Writeback", it gets triggered on the modification at metadata nodes, not child nodes. Hence adding custom proprieties on child node of <asset>/jcr:content/metadata may not trigger workflow until you change the workflow launcher settings.

Answers (1)

Answers (1)

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,369 posts

Correct Reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,369 posts

Correct Reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

19-07-2017

Moving this post to the AEM Assets topic.

~kautuk