Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
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