
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2017 05:24 AM
Here's a head-scratcher...
I have a table: u_bcp_sites
I have a reference field on this table (u_location) which references the cmn_location table.
My Service Portal widget HTML Template code:
<sn-record-picker field="BCPSite" table="'u_bcp_sites'" default-query="'u_locationISNOTEMPTY'" display-field="'u_location'" value-field="'sys_id'" search-fields="'u_location'" page-size="10" ></sn-record-picker>
Well of course the field results are all blank, because I need the getDisplayValue() of the u_location field.
Too bad we can't do something like this:
display-field="'u_location.getDisplayValue()'"
So... any way to get this to work?
(tapping nathanfirth lightly on the shoulder )
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2017 11:00 AM
Odd.... this works:
Why am I able to dot-walk for search-fields but not display-field???

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2017 10:32 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2017 11:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2017 04:26 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2017 11:12 AM
You sure it's user.user_name and not user.u_user_name?
EDIT: Strike that, I see it's supposed to be user_name.
Let me try it on my end and see what I come up with.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2017 11:45 AM
As I stated before: Dot.Walking the display-field won't work.