Expand my Community achievements bar.

SOLVED

When updating properites metadata, does this trigger a new modification date for sorting newly edited metadata on assets? If not, how would one go about sorting search results by most recent updated metadata?

Avatar

Level 4
 
1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@sogden 

Depends on your query, if you are using lastModificationDate to sort, then updating metadata properties will impact the sorting of search results.
Last Modification Date is updated with DAM Metadata Writeback Workflow, which gets triggered when there is a change in Asset Metadata Properties. See the screen shot from AEM6.5 On prem local set up

krati_garg_0-1670432637795.png

 

  

 

For more guidance, please share your search query and elaborate on usecase

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

@sogden 

Depends on your query, if you are using lastModificationDate to sort, then updating metadata properties will impact the sorting of search results.
Last Modification Date is updated with DAM Metadata Writeback Workflow, which gets triggered when there is a change in Asset Metadata Properties. See the screen shot from AEM6.5 On prem local set up

krati_garg_0-1670432637795.png

 

  

 

For more guidance, please share your search query and elaborate on usecase

Avatar

Employee

Metadata updates usually won't update last modified OOTB. Check workflow launchers on AEM version you are using. For eg. on cloud you would see below launcher disabled ootb .You can enable it if you want to track metadata modifications but please be aware that this may impact performance as metadata changes may occur too often , so you may want to enable this launcher carefully with optimized/additional conditional checks if you really need to track metadata changes.Screenshot 2022-12-07 at 9.54.03 PM.png