I have a list, how can I do something like what pagingInfo does? I want to pass in batchNumber and batchSize and get the part from the list.
The list is not queried from record, it is from an api response, but the api response was not paged. I was blocked when I tried to create a record type using this api, so I was thinking maybe I can page the response in recordDataSource file. Is there any other ways that I can do this without changing the api?
Discussion posts and replies are publicly visible
Convert it into Datasubset by wrapping it in todatsubset(), where you can use sorting and paging.
fxzrqjzztrmy said:I was blocked when I tried to create a record type using this api, so I was thinking maybe I can page the response in recordDataSource file.
Can i know what you mean by this, i'm not able to understand it properly
Thank you! I got this warning when configure the datasource and can not proceed: "The Record Data Source cannot return more than 1,000 records in a single batch. Batch size was 2,174"
Does that API not support any kind of paging? If the data volume increases, you will run into timeout or memory issues sooner or later.