Content tagging at the component level | Community
Skip to main content
paulm54716093
New Participant
November 13, 2017
Solved

Content tagging at the component level

  • November 13, 2017
  • 2 replies
  • 1166 views

My business users would like to start tagging their content at the cq:Component level. Out of the box, AEM will let authors tag a Page or an Asset, but I have not seen any components that do this. I know I could create a custom cq:Component that would let the authors access tags via the TagManager API, but I'm not sure it's a good idea to add tags in the JCR in nodes other than Pages or Assets, given that AEM only adds them to the cq:tags property in Pages and Assets.

Wondering if anyone has experience doing this sort of thing. What would I need to look out for if I used tags values in custom node properties?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

Tags are typically added to pages or assets - not sure it make sense to tag content other than those.

YOu can use Tag Manager API to perform tag operations. Best to add tags to pages or assets.

Here are the JavaDoc URL:

"The CQ5 Quickstart and Web Application."

2 replies

smacdonald2008
New Participant
November 13, 2017

HEre is a good KB too on use of TagManager API:

Building Tagging into an AEM Application

smacdonald2008
smacdonald2008Accepted solution
New Participant
November 13, 2017

Tags are typically added to pages or assets - not sure it make sense to tag content other than those.

YOu can use Tag Manager API to perform tag operations. Best to add tags to pages or assets.

Here are the JavaDoc URL:

"The CQ5 Quickstart and Web Application."