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

Then you can use multi select checkbox from angularJS (Checklist-model - AngularJS directive for list of checkboxes )


Hi Sushma,



Its a table from where i want to fetch records and allow the user to be able to select multiple records from that custom reference field.



Something like this:-



find_real_file.png



Any help?


Shahid,



This is what is List collector, you can change the field type from reference field to list collector and use it with same syntax sn-record-picker.



Regards,


Sushma


HI Susham,



Yes i want the syntax for that.



Can you share?



Thanks,


Shahid


No syntax as such you just have to change type from backend table and fetch it using glideRecord server script and use it in HTML.