sn-record-picker need to display multiple fields what is the syntax to use display-fields attribute

Sushma R1
Tera Expert

In my case I'm referring to sys_user table and picking name(display name )field which is not a reference field, my client need the sn-record-picker to show the email ID just below the Name for each record(this feature is very much required because one person will have multiple credentials with different email IDs in my case)   I'm attaching and highlighting how I want it to be shown first . Any expertise on this?

sn-record-picker.jpg

1 ACCEPTED SOLUTION

larstange
Mega Sage

Hi



If you specify the email in the



display-fields="'email'"



the email will be displayed under the user name



and if you do a



search-fields="'name,email'"



The users can be searched by name or email


View solution in original post

16 REPLIES 16

HI Sushma,



have you ever done that?



Please do share the ides or the code with me in case you have used it.



Thanks,


Shahid


Hi Shahid,



I have the same requirement as you, did you find a way to do that?



thank you!