Increase records per page on smart views (map)

Feature(s) impacted

Smart views (Map)

Observed behavior

The maximum value for records I can see at once on the smart view is 500

Expected behavior

I’d like to increase this number to 1500-2000

Failure Logs

Invalid patch value (path: “/collections/condominiums/layout/viewLists/be77ed85-61cf-4070-b8ff-8e688adef126/recordsPerPage”, op: “replace”, value: 501): ValidationError: “value” Invalid number of records per page.

Context

I basically copied and pasted the code for the map smart view on the documentations. The limit of 500 records is a little frustrating, especially because it doesn’t appear to have this limit on the table view mode.

I couldn’t find a way to “paginate” on the map view mode as well, rendering the markers at batches, so the viewmode is limited to 500, instaead of “500 per page”, as there are no pages

  • Project name: Manu - Admin
  • Team name: Operations
  • Environment name: Dev
  • Agent technology: nodejs
  • Agent (forest package) name & version: “@forestadmin/agent”: “^1.44.0”
  • Database type: postgres
  • Recent changes made on your end if any: I just upgraded to @forestadmin/agent.

Hello @MRoni121, and welcome to the community.

Thanks for your post. Unfortunately, there is no way today to increase the number of records in the smart view past 500 (which should be the same limit as the table view).

Our advice in your case is to implement multiple segments, according to some filtering criteria (maybe a given geographical area), and use those sub-views to display a more limited number of markers on the map.

I hope this helps, :pray:

@Nicolas.M

Hi, Nicolas! I understand, thank you for getting back :slight_smile: