Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Modify Default Tag Path in AEM Tagging Framework

Avatar

Former Community Member

I am trying to override the default tag path.If we don't give any namespace it stores in default/standard path,I have requirement where I need to modify the default path and store it in custom path.

What are the possibilities for this ?

Thanks in advance!

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

I don't think that this is possible. Maybe you should rather switch and rather use a curated taxonomy and let the authors only create them in the Tagadmin and no longer ad-hoc.

View solution in original post

4 Replies

Avatar

Level 10

Not sure if there is a way to change the default path. There is no docs on this.

However - you can write code to perform this task. Write a JCR event handler that is invoked when the tag is added to the JCR. Then use the Tag Manager API to move the tag to your path: TagManager (Adobe CQ 5.6.1 Java Documentation 5.6.1 API)

Avatar

Employee Advisor

Which version of AEM are you using? TouchUI or ClassicUI?

Jörg

Avatar

Correct answer by
Employee Advisor

I don't think that this is possible. Maybe you should rather switch and rather use a curated taxonomy and let the authors only create them in the Tagadmin and no longer ad-hoc.