Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

sudheerch
Level 2
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.

Tags
1 Accepted Solution
Arun_Patidar
Correct answer by
Community Advisor
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...

View solution in original post

1 Reply
Arun_Patidar
Correct answer by
Community Advisor
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...

View solution in original post