Hey folks, Has anyone had any experience paginatin...
# suitescript
l
Hey folks, Has anyone had any experience paginating in a suitelet form inside sublist inside a subtab?
I'm thinking of using url params to hold page numbers. But we'll loose the ability to mark records across pages. Unless we somehow add checked records to a browser/server session cache.
s
You can hide lines with dom manipulation, and add a dropdown field for the page on the tab of the sublist. It honestly doesn't look that great. I would recommend just building a SPA if you want more robust user elements like pagination.
l
I'm hitting the governance limit so hiding items is out.
s
hitting the governance limit from doing what, its very difficult to hit governance limit in a suitelet while having anything useful from user point of view
l
It's an inventory list across subsidiaries that uses a search.lookupFields.
each record can call the lookup up to 3 times
If 2 subsidiaries have 500 items in the list theoretically that would consume up to 3000 units.
s
That sounds like bad design to me
e
Hm generally a
lookupFields
inside a loop can be replaced with a single search
l
It was for a file field, where I've had intermittent successes extrapolating name file type and URL.