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

How to set the limit and offset for tagmanager.find method

Avatar

Level 4

Is there any way to set the limit and offset for the tagmanager method to find the tags.

Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Community Advisor

Hi @aravindS , 
This is a TagManager API method which return RangeIterator<Resource> of JCR Nodes tagged with the given tag. You can play with return RangeIterator as per your need however you can't use limit and offser with tagmeneger's find(). 

Though, If you use QueryBuilder API to find nodes tagged with specific tag then you can use limit and offset. 

Avatar

Correct answer by
Community Advisor