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

AEM Tagging - Not pulling results with TagManager.find

  • March 7, 2016
  • 1 resposta
  • 6685 Visualizações

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

Este tópico foi fechado para respostas.

1 Resposta

edubey
Level 10
March 8, 2016

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

b7wilso
b7wilsoAutor
Level 3
March 8, 2016

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

b7wilso
b7wilsoAutor
Level 3
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.


Hey all, Decided I would revisit this and discovered that it is not working on my local Publish environment like I thought it was.  I am revisiting the changes that I swear made it work to try and reproduce the situation where it was working.