- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2021 02:42 AM
Table data:
{ "userId": 1, "id": 1, "title": "delectus aut autem", "completed": false
"userId": 2, "id": 2, "title": "delectus aut autem", "completed": false
"userId": 3, "id": 3, "title": "delectus aut autem", "completed": true
}
How to retrieve these data from table and show it in ui page.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2021 03:29 AM
Nothing. Just update the html code with the one i gave and test it. In the html in this place you need to put your table name and add conditions if any using addQuery
<g:evaluate jelly="true">
var gr = new GlideRecord('sys_user');
gr.setLimit(3);
gr.query();
</g:evaluate>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2021 03:29 AM
Nothing. Just update the html code with the one i gave and test it. In the html in this place you need to put your table name and add conditions if any using addQuery
<g:evaluate jelly="true">
var gr = new GlideRecord('sys_user');
gr.setLimit(3);
gr.query();
</g:evaluate>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2021 03:33 AM
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2021 03:41 AM
hai if i have more than 100 records and i like to show only 20 records in first page. How to show the data with pagination?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2021 04:52 AM
hai if i have more than 100 records and i like to show only 20 records in first page. How to show the data with pagination?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2021 03:17 AM
Hi,
I have shared solution here
Try to enhance it as per your requirement
Display records on custom table in UI page
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader