Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Using Tag Manager Api in Component

Avatar

Level 2

Hi,

I am a very new to the concept of Tagging in AEM.

I need to create a component that checks the child pages and display only the child pages whose tags match with the tags that I have given. Can someone please guide me as how to do this.

1 Accepted Solution

Avatar

Correct answer by
Level 10
2 Replies

Avatar

Level 10

Although this article is not an exact match in a use case - it does show you how to use Tag Manager API with a HTL component:

Scott's Digital Community: Developing an AEM HTML Template Langauge Component that searches for AEM ...

It will point you in the right direction...

Avatar

Correct answer by
Level 10

Should be able to achieve it with query builder tag predicate

https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/querybuilder-api.html