Adding tags to asset on DAM upload | Community
Skip to main content
jezwn
Level 5
March 7, 2023
Solved

Adding tags to asset on DAM upload

  • March 7, 2023
  • 3 replies
  • 2268 views

Is it possible to add specific/default tags automatically to assets on uploading to AEM DAM. If an asset is uploaded to /content/dam/folderA, a tag named folder-a should be automatically be added to that asset and any uploads to /content/dam/folderB, the tag should be folder-b. Is there any OOTB mechanism/tools to achieve this or should I need to extend the OOTB DAM Asset Update workflow to set this automation in place? What would be the ideal solution here?

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 somen-sarkar

In case the asset is moved then old metadata value also will be shifted to other location. You have to reprocess the asset to apply the new metadata profile values. 

3 replies

somen-sarkar
Community Advisor
Community Advisor
March 7, 2023

Hi ,

You can use metadata profiles to achieve the same. Pls check the below link :-

 

Metadata profiles | Adobe Experience Manager

 

Thanks,

Somen

jezwn
jezwnAuthor
Level 5
March 7, 2023

Also, I would like to understand would this work all the time as I had some prior experience where the tags wont get properly added with the metadata profile setup.

Kiran_Vedantam
Community Advisor
Community Advisor
March 7, 2023

Hi @jezwn 

 

The correct way to do it in extending the DAM asset update workflow as it takes care of all the other activities. Create a custom step and include the logic of attaching the tags.

 

Hope it helps!

Thanks,
Kiran Vedantam.

Adilos-Cantuerk
Community Advisor
Community Advisor
April 30, 2024

Hi @jezwn ,
I am a bit late to this tread, but I am very interested if it got resolved.
The idea that I currently chase is this.
How can we create a workflow or multiple workflows, that attach metadata to assets based of a logic that includes markers within the filename, filetype and the path that the asset gets uploaded to /moved to.

Your example + a bit more.
If asset gets uploaded / moved to
dam/content/department-a/germany AND is filetype:pdf AND filename contains "-CA-"
then
add cq:tags "department:A"; "document-type:catalogue" AND dc:language "de"

 

Has somebody done this before and would be so kind to share the knowledge how to do it?