Forum Discussion
BRVL
3 years agoFrequent Visitor
Web based cursor pagination issue
Hi I’ve been working on trying to use List.generate to create a paginated list from the api. My issue is that my api uses Cursor-Based Pagination. A single request will give me two sections if a curs...
- 3 years ago
Hi BRVL ,
Have you tried to use if function like this:
each if Record.HasFields(_,"cursor")=true then Json.Document(... else...Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- 3 years ago
Nevermind, I've figured it myself.
v-yanjiang-msft
3 years agoCommunity Support
Hi BRVL ,
Have you tried to use if function like this:
each if Record.HasFields(_,"cursor")=true then Json.Document(... else...
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
BRVL
3 years agoFrequent Visitor
Nevermind, I've figured it myself.