How to set the limit and offset for tagmanager.find method | Community
Skip to main content
New Participant
May 23, 2023
Solved

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

  • May 23, 2023
  • 2 replies
  • 809 views

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

Thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

rawvarun
rawvarunAccepted solution
New Participant
May 24, 2023
sunil_kumar_
New Participant
May 24, 2023

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.