Unable to resolve tags in AEM 6.3 using Tag Manager
Hi All,
We are upgrading from AEM 6.2 to AEM 6.3. In one of our jsp we are trying to get tags using Tag Manager but in publish instance tag manger is not able to find tags as etc is hidden for anonymous user.
We are getting Tag Manager by adapting resourceResolver (implicit object).
TagManager tagManager = resourceResolver.adaptTo(TagManager.class); // Geting Tag Manager value
Tag tag = tagManager.resolve("/etc/tags/abc"); // When resolving tag is null
Iterator<Tag> iteratorTag = tag.listChildren(); // null pointer exception
Could you please help in finding solution.
Thanks,
Megha Gowroji