infor.com
concierge
infor u
developer portal
Home
Groups
Lawson - Technology Customer Community [READ ONLY]
Print Manager PAGESIZE
Legacy Contributor
Does anyone know of a way to increase the PAGESIZE for the Print Manager to a value higher than the default 25?
Our users ran into the Lawson bug (JT-586959) where paging through records in Print Manager is slower and slower on each subsequent 'Next' and I want to provide a workaround to them until the patch is applied.
I don't find that I can increase this value in the Workspace/Ming.le configuration under user/role options. We are running LSF 10.0.3.
Thank you!
Anna
Find more posts tagged with
Comments
serafino
Edit the file $GENDIR/cgi-bin/addhtml.txt. There is a variable called 'webrpt pagelimit' at the bottom (last line in mine). Change the last two fields to increase the number. I have ours set to 40 - which works pretty well. You will need to experiment to see what the best number is for your environment. If you make it too high, big reports will take forever to load and will be very klunky because they need a lot of memory on the browswer side.
Legacy Contributor
Hi Sal,
Thanks for your response! That's a handy setting to make note of - it looks like it controls how many pages are loaded (webrpt program) when a user views a large report in text mode.
I'm actually looking for a way to change the number of records displayed per page on the Print Manager (just the main screen, no report selected).
In Smart Office, we can configure the number of reports displayed per page in Print Manager, but it doesn't look like we have the same option in Portal.
Legacy Contributor
Here's an example of the JobServer servlet returning a default 25 records when a user inquires/next/previous actions in Print Manager:
myserver.server.com/.../JobServer
0712131256598360.doc
serafino
Sorry, read it fast and misunderstood.
$WEBDIR/lawson/portal/reports/printfiles.js contains a variable in the function GlobalObject() called pageSize (actually defined as "this.pageSize=25;" when the object is instantiated. This is where to set it, but I have no idea how that will affect your performance. Be aware *before* you change anything that this is a "Global" variable that will set the page size in PrintManager for all users and there is no per-user preference setting.
Legacy Contributor
Thanks Sal!
I may try it out in test, but I agree with your warning about performance and the setting being global as a downside to changing it. I appreciate your help!
0712131256598360.doc
Important Links
Community Hubs
Discussion Forums
Groups
Community News
Popular Tags
ION Connect
ION Workflow
ION API Gateway
Syteline Development
CPQ Discussion Ask a Colleague
Infor Data Fabric
Infor Document Management (IDM)
LN Development
API Usage
FAQs, How-To, and Best Practices