Airtable fetching , maxRecord=3 details” guys here in this link, there is something caled maxRecords=3, how do i write it such a way that , it will give me records as long as there are records. i want it to change dynamically. imagine i told max record to 5 today. but tomorow 6 rows are created. so dynamically i want all the rows to be fetched

It looks like you are using the Standard REST API. How are you creating your url string? You can use a variable when you build the url string and change the value of the variable in the code.

However, why do you need to change the maxRecords from day to day? If you want all records, omit the maxRecords query parameter. If there are fewer than 100 records, all of the records will be returned without you specifying a specific number of records. If you want more than 100 records, you will need to get into multiple calls and pagination, which is a bit more complex.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.