AEM Tagging Move behavior | Community
Skip to main content
Level 4
September 9, 2020
Solved

AEM Tagging Move behavior

  • September 9, 2020
  • 2 replies
  • 3560 views
  • On v6.5.3, Tag A is present at path /content/cq:tags/project/folder1/tagA, this tag is moved to a new location, which is /content/cq:tags/project/folder2/tagA.
  • Behind the scenes, Authors see the new tag path in page properties (say basic > cq:tags), but in crx/de the tag on the page still points to old location, which is /content/cq:tags/project/folder1/tagA.
  • Mapping, /content/cq:tags/project/folder1/tagA tag has a property 'cq:movedTo' whose value is /content/cq:tags/project/folder2/tagA. And /content/cq:tags/project/folder2/tagA tag has a property 'cq:backLinks' whose value is /content/cq:tags/project/folder1/tagA tag. So, there's a 1:1 mapping. 
  • Other observation is, this /content/cq:tags/project/folder1/tagA tag is still present in crx/de - but not visible to Author, it is 'hidden' somehow and authors only see the new tag path, which is /content/cq:tags/project/folder2/tagA. 

This looks to be a new way of how tags are managed in v6.5.x, but i'm trying to understand the reasoning behind it. My use case is all the taxonomy is getting updated in the project, which means tags are moved to different folders, new folders are added etc, which all depend on the OOTB Move operation, and if I use OOTB move operation, I will end up having the legacy tag structure in AEM (seen only in crx/de) and a mapping which will point to old paths. This creates a lot of dependency with the old tags, the path and the 'hidden' tags, and i'm concerned if this will have any impact in the future, if taxonomy is again updated or possible future upgrades. 

 

So, i'm planning of developing a utility to custom move the tags and also update the references in crx/de and not end up having any legacy tag paths and hidden tags. Is there any reason why I should not do this? And is the v6.5.3 tagging move behavior a product bug or is that how it's intended to work, which is little weird isn't it? 

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 vish.dhaliwal

Hey,

 

I hope you have reviewed the official doc [1] which has details on explanation on cq:movedTo and cq:backlinks properties.

[1] https://docs.adobe.com/content/help/en/experience-manager-64/developing/platform/tagging/framework.html#MovingandMergingTags

 

Reards,

Vishu

 

2 replies

vish.dhaliwalAdobe EmployeeAccepted solution
Adobe Employee
September 9, 2020

Hey,

 

I hope you have reviewed the official doc [1] which has details on explanation on cq:movedTo and cq:backlinks properties.

[1] https://docs.adobe.com/content/help/en/experience-manager-64/developing/platform/tagging/framework.html#MovingandMergingTags

 

Reards,

Vishu

 

arunpatidar
Community Advisor
Community Advisor
September 13, 2020

hi,

it is ok to update the tag path using the custom utility.

Arun Patidar
BerusAuthor
Level 4
September 16, 2020
Thanks! I've developed a custom utility and worked like old days.
Adobe Employee
April 4, 2023

Hi Berus,

 

I have a similar requirement > where I want to display the tags from new location after move. Do you have more details about the utility?