- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2017 05:27 AM
Hi,
I'm trying to use this widget : "Data table from instance definition" on Service Portal.
But I would like to limit the number of rows par page that are displayed...
How to do that?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2017 03:23 AM
Hi,
Istanbul too.
I believe that widget "Data Table" don't take into account option "window_size" when it is embedded into an other widget.
I solved the problem by creating a clone of Data Table widget and add "window_size" into the copy (row 23) :
// copy to data[name] from input[name] || option[name]
optCopy(['table', 'p', 'o', 'd', 'filter', 'filterACLs', 'fields', 'keywords', 'view', 'window_size']);
optCopy(['relationship_id', 'apply_to', 'apply_to_sys_id']);
It works for me.
Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2017 06:49 AM
Open the Widget Instance options (either click on the edit icon when you hover over the widget in the designer or ctrl+right click on the widget in your live portal). There is an option for Max entries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2017 07:00 AM
I already tried that but it does not work.
(by the way "max entries" was not there by default, which is probably intended because it does not work... )
I think that "Data table from instance definition" uses the "number of rows per page"...
Did you try with this widget?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2017 07:13 AM
what version of ServiceNow are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2017 01:19 AM
Istanbul...
The field "max entries" works fine for "Data table", but I think it does not work for "Data table from instance definition"...
😞
But unfortunately I cannot use "Data table" because I cannot choose the columns