Is there a way where I can bind data resource in UI builder to a list component?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 07:56 AM
Is there a way where I can bind data resource in UI builder to a list component. I have data resource that returns all users from sys_users. I want to use this data resource and attach it to List/Simple list or any other table formed component where i dont choose the table name directly inside the config of ui builder but instead use the data resource. I also tried evaluateproperty script but didnt work.
- Labels:
-
Now Experience UI Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 08:00 AM
Hello,
Did you check the below:-
https://docs.servicenow.com/bundle/quebec-application-development/page/administer/ui-builder/task/connect-data.html
https://developer.servicenow.com/blog.do?p=/post/quebec-ui-builder-data-resources/
Please mark answer correct/helpful based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 08:17 AM
I have seen these resources before . I can see the way he binds the data resource to a heading. I want something similar but to a list or simple list or any kind of table. Instead of adding a list and then writing the name of the table to display its records.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 09:11 AM
Hi Louay,
The list components do their own data fetching so you can't find the data from a data resource to those components. You could make them more dynamic by binding something to table name and query properties on the component. You could also use the new repeater component in San Diego to create your own list based on the data from a data resource.