Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
Transform - Paginate function for REST API — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Transform - Paginate function for REST API

Received Response
21
Views
2
Comments

Summary:

Hi All,

Happy New Year to all.

I am consuming OIC REST API and which returns totalNumberOfRecords and the response data array object.

I want to implement LoadMoreOnScroll on this, and for which need to write the transform->paginate function to override.


  1. Could you please help me out with this? if you have any references for this would also help to make the changes for my requirement from scratch. (on what changes and where are all required in the transform js file)
  2. Also, do we need Count, hasMore, Limit and Offset in the service response? or only with the totalRecords we can write the js transform function?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!