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

sudheerch

24-02-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

Arun_Patidar

MVP

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

Answers (0)