filemaker-data-api-wordpress icon indicating copy to clipboard operation
filemaker-data-api-wordpress copied to clipboard

Limited result

Open Mykoplasma opened this issue 2 years ago • 1 comments

We're trying to load an attendees list that is now surpassing 100 records, the default setting for how many records the Data API fetches. In FileMakerDataAPI.php it says: // by default API only returns 100 records at a time, so we need to keep getting records till we run out

Does this mean that the script is trying to bypass that 100 record limit? Because we're currently only seeing the first 100 attendees in the list. Is there a way for us to bypass this and show the complete attendees list? :)

Mykoplasma avatar Sep 25 '23 08:09 Mykoplasma

Hi @Mykoplasma

If you're using findAll() then you will get all records back, however if you're performing a query then that code comment you posted above won't apply since it will be using the find() method from that same class.

I presume that you're using this with the [FM-DATA-TABLE] shortcode, and that you're performing some sort of query in that - in that case there's currently no mechanism by which you can retrieve more than 100 records. We can add that functionality but it might take a few days.

Cheers Steve

steveWinter avatar Sep 26 '23 15:09 steveWinter