Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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