Moving tags in 6.4 as per repository restructure | Community
Skip to main content
Level 2
Jul 5, 2019 5:19 PM UTC
Solved

Moving tags in 6.4 as per repository restructure

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
user05162Accepted solution
Employee
Jul 5, 2019 7:31 PM UTC

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

6 replies

Nirmal_Jose
Employee
Jul 6, 2019 7:04 AM UTC

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

Translate
user05162Accepted solution
Employee
Jul 5, 2019 7:31 PM UTC

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

Translate
Level 2
Jul 5, 2019 6:10 PM UTC

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.

Translate
Employee
Jul 5, 2019 6:01 PM UTC

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

Translate
Level 2
Jul 5, 2019 5:58 PM UTC

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.

Translate
Employee
Jul 5, 2019 5:31 PM UTC

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

Translate