For DAM Asset cq:tags property is not getting updated automatically with new location when we move the tags. | Community
Skip to main content
Level 2
February 25, 2020
Solved

For DAM Asset cq:tags property is not getting updated automatically with new location when we move the tags.

  • February 25, 2020
  • 1 reply
  • 1061 views

When we use move option for the tags, corresponding references for the assets is not getting updated automatically. 

Steps to reproduce the issue:

  1. Upload any sample pdf to DAM. Ex: /content/dam/we-retail/en/faqs/orders/ActiveReport.pdf
  2. Create a tag under /content/cq:tags/we-retail/activity/activity1
  3. Assign ActiveReport.pdf with tag activity1
  4. Move the Tag /content/cq:tags/we-retail/activity/activity1 to the new location /content/cq:tags/we-retail/activity/hiking using “Move” option in Tags console.
  5. Open the properties of the asset in asset details console then Tags are showing as "We.Retail : Activity / Hiking / Activity1". But in CRXDE when we open the node properties of /content/dam/we-retail/en/faqs/orders/ActiveReport.pdf/jcr:content/metadata,  cq:tags property still showing as old location  we-retail:activity/activity1.

Is this expected behavior? we thought when we use move option for the tags, corresponding references for the assets also will be updated to reflect new location.

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 arunpatidar

Yes, it is expected behavior. cq:backlinks is added to tag when you move the tag.

cq:backlinks keeps the references in the other direction, i.e. it keeps a list of all the tags that have been moved to or merged with tag B. This is mostly required to keep cq:movedTo properties up to date when tag B is moved/merged/deleted as well or when tag B is activated, in which case all its backlinks tags must be activated as well.

 

Please check https://docs.adobe.com/content/help/en/experience-manager-65/developing/platform/tagging/framework.html#moving-and-merging-tags

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
February 25, 2020

Yes, it is expected behavior. cq:backlinks is added to tag when you move the tag.

cq:backlinks keeps the references in the other direction, i.e. it keeps a list of all the tags that have been moved to or merged with tag B. This is mostly required to keep cq:movedTo properties up to date when tag B is moved/merged/deleted as well or when tag B is activated, in which case all its backlinks tags must be activated as well.

 

Please check https://docs.adobe.com/content/help/en/experience-manager-65/developing/platform/tagging/framework.html#moving-and-merging-tags

Arun Patidar