how to add pagination or next page option in glidedialog window pop up
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
17 hours ago
Hi All,
I have create glide dialog window pop up which shows the only this list level view of indient but I am not able to add next page move option in it remain on the first page only.
@Ankur Bawiskar can you help me with this
function onLoad() {
var w = new GlideDialogWindow('show_list'); // built-in UI Page
w.setTitle('Incident List');
w.setPreference('table', 'incident_list');
w.setPreference('sysparm_view', 'default');
// Optional size/scroll
w.setSize(1200, 800);
w.setPreference('scrollbars', true);
w.render();
}
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10 hours ago
While your script works when an incident is opened, it shows the number of records based on the user's 'rowcount' preference. Don't depend on what you've done as the Client API has been deprecated:
https://developer.servicenow.com/dev.do#!/reference/api/yokohama/client/c_GlideDialogWindowAPI