AEM Tagging - Not pulling results with TagManager.find | Community
Skip to main content
b7wilso
Level 3
March 7, 2016

AEM Tagging - Not pulling results with TagManager.find

  • March 7, 2016
  • 1 reply
  • 6696 views

Sorry, I really hope that this is not too basic of a question.  That said, please forgive the basic-ness of the question as this is really my first foray into tagging.  My local environment is a Windows environment running AEM 6.1, but I don't think I have gotten around to installing SP1 there yet.  Alternatively, my Dev environment is on Linux, AEM 6.1 and we do have SP1 installed on there.

So I have a component built on tagging that works just fine in my local environment (both Author and Publisher) but when I promoted it to our Dev environment it is not pulling the results with TagManager.find in Publisher only (but it does work in Author).  When I first tested on Publish in my local environment it didn't work there either at first, until I found https://docs.adobe.com/docs/en/aem/6-1/develop/tags/framework.html and added cq:Taggable to the Page Component, at which point it worked fine.  Based on the displays I have setup in the code, TagManager.find is returning null (and not throwing any sort of error).  I am doing a ResourceResolver.adaptTo to create the TagManager.  Please see attached screen shots.

Thanks in advance for your help!

Brad W

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

1 reply

edubey
Level 10
March 8, 2016

Have you replicated tags which are created in Dev author to Dev publish?

b7wilso
b7wilsoAuthor
Level 3
March 8, 2016

Good thought, but it auto-promoted just that tag when I promoted either page or the tagged component.

JK_Kendall
Level 9
March 8, 2016

JK - just FYI, based on what we are seeing this still isn't working.  Sorry for the duplicate post, but I am wondering if you did not see my last response because I "replied to myself"?

Thanks.


Hi - I write documentation for the Communities capability.

See the information I was given for Tagging Enablement Resources.

You might open a support ticket if you continue to have problems.

- JK