- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2017 05:30 AM
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
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2017 06:12 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2017 05:54 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2017 06:03 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2017 06:12 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2017 06:20 AM
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.