Increasing the rows in a list pagination in Service Portal

Plissken
Tera Expert

Hello all,

I have been searching for a while now but I cannot find a way to increase the number of records displayed in a list within the Service Portal. So for example when you use the Data Table from instance widget in the Portal it only shows a maximum of 20 records, is there a way to increase it to say 50?

Thank you

1 ACCEPTED SOLUTION

You're right, I did same test on my test instance and still got 20. I looked further and I found that in out of box configuration, the widget My Open Incidents is hardcoded with 20, like in screen shot below. Changing there to 50 solved the issue. Even so I do not recommend setting it higher than 50 as you might get performance issues.



Screen Shot 2017-03-10 at 3.13.32 PM.png


View solution in original post

20 REPLIES 20

sergiu_panaite
ServiceNow Employee
ServiceNow Employee

The number of rows per list depends on your preferences for that table. So if you have a list from 'incident' table for example, it should show same number of rows as per 'incident_list.do' list, unless the Service Portal has been modified to restrict the rows to max 20.


Hello Sergiu,



Sorry I missed out putting down the things I   have tried, one of them was setting myself up a 'rowcount' User Preference record with a value of 50. When I logged out and in to the platform it worked as it has always done and I did indeed see 50 records per list, but in the Service Portal I still only had 20. Is there another place I have missed out or like you say ServiceNow have changed things with the Portal considering they are using Bootstrap so heavily?



Cheers



Martin


You're right, I did same test on my test instance and still got 20. I looked further and I found that in out of box configuration, the widget My Open Incidents is hardcoded with 20, like in screen shot below. Changing there to 50 solved the issue. Even so I do not recommend setting it higher than 50 as you might get performance issues.



Screen Shot 2017-03-10 at 3.13.32 PM.png


Thank you very much Sergiu, you know I saw that maximum entries field but when I looked at the code I saw the list I'm working on set to 5 so thought that couldn't be it! Thanks for the advice too I have mentioned this as they originally wanted it at 100!!!



I will mark as Answered - thanks again for your time.