- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2022 08:00 AM
Hi All,
I have requirement to add dropdown in the widget. When we type name or any other fields of the spm_service_portfolio table, list of all the related records will show in the dropdown and after selecting anyone option, in another widget all the records related to that name will show.
Please help me in this.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2022 09:56 AM
It should work, i have seen this working for me.
Also refer: https://www.servicenow.com/community/developer-forum/sn-record-picker-need-to-display-multiple-field...
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2022 08:41 AM
Instead of drop down , you should use OOB sn record picker, which is quite flexible in terms of pulling records from table.
Creating HTML dropdown will require lot of unnecessary code:
Please mark the answer correct/helpful accordingly.
Raghav
MVP 2023