AnsweredAssumed Answered

PHP API - getRelatedSet - limit records

Question asked by fmdataweb on Mar 21, 2018
Latest reply on Mar 22, 2018 by fmdataweb

I'm using the PHP API to retrieve records from a portal which is all working well. I would like to limit the records returned and get them in groups so I can display 20 records at a time on the page (users would click a Next button to get the next 20 and so on).


When I'm doing a PHP API find request I would use the setRange method to specify how many records to return and the starting record, e.g.


$findRequest->setRange($skip, $max);


Does anyone know if it's possible to achieve the same result when using the getRelatedSet method to get records from a portal?