Reference field in UI Builder

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2021 07:43 AM
Just getting started with playing with UI builder and I'm looking to replicate some functionality I have built in the backend using a UI page.
Basically the page will contain two fields, a reference field for selecting a record from a table (the table name is customisable) and a text area which will contain a JSON formatted view of the record.
What I'm stumbling on straight away is the reference field. There doesn't seem to be a suitable component to select which matches the behaviour of the reference field. Can anyone suggest how to proceed?
- Labels:
-
Now Experience UI Framework
- 2,132 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2021 07:54 AM
Maybe use Form - Fields, choose a table and a specific view that contains the one field.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2021 08:04 AM
I can see how that would work, however the table will be dynamic (based on a field from another record that will be open in the workspace) and so adding a view to each table would be unworkable.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2021 08:11 AM
The only options I could see were
1 - Wait until ServiceNow builds one and adds it.
2 - Build the component yourself.
I personally disappointed that they did not consider a reference input a priority, they are all over the system. Every time I have found something I think would be something good to try in UI Builder I end up not being able to do it because I always need at least one reference field. So we are not even going to consider UI builder until thats an option.