How to add select box in the widget in service portal

Samiksha2
Mega Sage

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!

 

 

 

1 ACCEPTED SOLUTION

10 REPLIES 10

palanikumar
Mega Sage

You can use sn record picker. Refer the below url for more details

https://www.servicenow.com/community/developer-blog/reference-fields-with-the-snrecordpicker-directi... 

Thank you,
Palani

Hi @palanikumar ,

Thanks for the reply. But in the above link we can add only one display value. I can search only with name. But the requirement is to search with any field of the spm_service_portfolio table. 

display-field (or display-fields)the display field

I think you can give multiple fields in search-fields separated by "," , there is no option to search with all fields in sn record picker or reference field in servicenow.


Raghav
MVP 2023

I checked using this ";" but it is not working. Is there any way to search with multiple fields. Line how we do in reference field by adding reference qualifier.