- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2020 04:12 AM
Hello,
How to define the reference field in the Service Portal
i have one reference field of the cmn_location which I have to show to portal help me on this
Solved! Go to Solution.
- Labels:
-
Release Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2020 04:19 AM
HI,
We need to use record-picker for that as below example
<sn-record-picker field="location" table="'cmn_location'" display-field="'name'" display-fields="'city,zip'" value-field="'sys_id'" search-fields="'name'" page-size="100" ></sn-record-picker>
Thanks,
Ashutosh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2020 04:19 AM
HI,
We need to use record-picker for that as below example
<sn-record-picker field="location" table="'cmn_location'" display-field="'name'" display-fields="'city,zip'" value-field="'sys_id'" search-fields="'name'" page-size="100" ></sn-record-picker>
Thanks,
Ashutosh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2020 04:19 AM
HI,
See this article:
https://community.servicenow.com/community?id=community_blog&sys_id=54bde6a9dbd0dbc01dcaf3231f96193f
Thanks,
Ashutosh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2020 01:17 AM
Hi,
If you got your answer please mark my answer as correct and close this thread.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2020 10:04 PM
Hey David,
I hope below link answer your purpose, I find it very decent and step by step explanation:
https://serviceportal.io/sn-record-picker/
Mark Correct and Helpful if you find my response worthy!!!
Best Regards,
Namrata.