# TagHistoryProvider.browse and data pagination

**URL:** <https://forum.inductiveautomation.com/t/taghistoryprovider-browse-and-data-pagination/62254>\
**Category:** Module Development\
**Tags:** perspective\
**Created:** [July 24, 2022, 6:25pm UTC](https://forum.inductiveautomation.com/t/taghistoryprovider-browse-and-data-pagination/62254 "2022-07-24T18:25:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_Sorensen](https://avatars.discourse-cdn.com/v4/letter/t/3ec8ea/32.png) [@Thomas\_Sorensen](https://forum.inductiveautomation.com/u/Thomas_Sorensen)\
**Post date:** [July 24, 2022, 6:25pm UTC](https://forum.inductiveautomation.com/t/taghistoryprovider-browse-and-data-pagination/62254/1 "2022-07-24T18:25:19Z")

</div>

Hi

I’ve created a custom TagHistoryProvider, and I’m trying to get data pagination to work when returning data from the TagHistoryProvider.browse method. If I look at the [SDK documentation for Results](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.18/com/inductiveautomation/ignition/common/browsing/Results.html#setContinuationPoint(java.lang.String)), then it looks like it should be implemented this way:

```auto
    if (pagSize == data.size()) { // if the returned data size == pageSize, then there is a good chance there are more data pages.
            currentContinuationPoint += pagSize;
            result.setContinuationPoint(currentContinuationPoint.toString());
            result.setTotalAvailableResults(currentContinuationPoint + pagSize); 
        }

```

The problem is that when I try to load data via the perspective power chart, then it only calls the browse function once.

Is data pagination not supported by the browse function? or I’m I missing something?
