Question

Adding pagination to a REST request

  • 3 June 2020
  • 2 replies
  • 116 views

Hi, I am using a REST SmartObject against a .NET web service I am creating myself.

 

Is there any way I can get K2 to pass in Page Number / Page Count parameters to my web service, as could be used in a readonly list view? 


2 replies

Hi SReilly,


 


Do you want to insert Page Number / Page Count parameters as input parameters with the REST Smartobject?


 

Hi Gareth, that's right, such that if you create a list view using that smartobject, the k2 server doesn't retrieve all items in the underlying data source, which could be a problem for large data sources.

Reply