Qlik REST Connector - How to do pagination when the pagination token is having the same value from the REST service
Article Number: 000054810 | Last Modified: 2018/11/21
The user is trying to have pagination from a REST service using "Next token" pagination type from Qlik REST connector, and realized the reload stops at the second page of the data.
The user realized the "Token" field for pagination returned from the service is having the same value for all the data pages.
Qlik Sense: all versions
Qlik REST Connector: all versions
The "Next token" pagination type from Qlik REST connector assumes the pagination token is having different values at each data page, as the most common implementaion out there. Therefore it will stop the data reload after finding the same value from the token.
Use "Custom" pagination type and use With Connection command to create the pagination mechanism.
See the attached example script for reference.
AttachmentsREST API test.qvf