Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
PS41
Contributor
Contributor

Cursor Pagination in GraphQL API

My requirement is to extract data from GraphQL API and load into Azure SQL database which works fine for less volume of data.

When the data volume increases the GraphQL API returns a token as "next" which when called in the right way would allow me to access the next page of data. I understand this is cursor pagination where we need to store the primary key value to a context variable and request again to get the next page of data.

I have mapped the next token to a variable but unable to use it as a Query parameter in tRestClient within a loop to get the next set of data.

Could someone explain to me as what's the best way to implement it.

Thanks

Labels (3)
10 Replies
PS41
Contributor
Contributor
Author

I had missed double quotes before the global variable which has caused the issue. It's all resolved now, much thanks to you @Richard Hall​