Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
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