Expand my Community achievements bar.

SOLVED

Moving tags in 6.4 as per repository restructure

Avatar

Level 2

As per adobe 6.4 documentation, tags should be moved from etc/tags to content/cq:tags.
Administering Tags


We have multiple tenants in the same AEM instance, and each of these have separate namespace under etc tags. We are not able to move tags specific to a tenant from etc/tags to /content/cq:tags. Is this an expected behavior ? should we move all the tags under etc at the same time ?

Thanks,
Vijay.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

If that's the case, you need to keep using legacy location and move tags once everything is moved to Touch UI

View solution in original post

6 Replies

Avatar

Employee Advisor

Are you trying the steps below to move?

  1. Replace the references to the old model (/etc/tags) with the new one (/content/cq:tags) by using the tagID.
  2. Log in to CRXDE Lite
  3. Move the tags from /etc/tags to /content/cq:tags
  4. Restart the OSGi Component com.day.cq.tagging.impl.JcrTagManagerFactoryImpl.

[1] Pomocník pre Adobe Experience Manager | Repository Restructuring in AEM 6.4

Avatar

Level 2

These steps work when I move the complete set off tags from etc/tags. If I move only tenant specific tags, any new tags created for this namespace are still getting created under etc/tags. You can check this on vanilla AEM instance.

Avatar

Employee Advisor

As per my understanding, all the tags regardless of namespace should be moved under "/content". Any specific reason you want to move one tenant at a time?

Also, as mentioned at [1]  The Tag Manager API supports both the legacy and the new location. When the JCR Tag Manager Factory OSGi Component starts, it detects if it is running on an upgraded instance or a legacy one, and uses the appropriate location.

In other words, if there are still nodes under "etc/tags" AEM will still use legacy location.

[1] Pomocník pre Adobe Experience Manager | Repository Restructuring in AEM 6.4

Avatar

Level 2

Thanks Jaideep. So the tenant we are currently working on uses classic UI and as part of 6.4 upgrade we are working on restructuring the tags from etc/tags to /content/cq:tags. Since the tenant uses classic UI the tags are getting created under etc/tags.

Avatar

Correct answer by
Employee Advisor

If that's the case, you need to keep using legacy location and move tags once everything is moved to Touch UI

Avatar

Employee Advisor

This seems to be right approach as I faced something similiar. Unless you remove the entire /etc/tags you won't see them in the /content/cq:tags