Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.h...



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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.h...



Arun Patidar