<sn-record-picker> unable to load the data if user records more

Priya3696
Tera Contributor

Hi Team,

We are using <sn-record-picker> to load user records dynamically. When server returns more records (ex-500+) then <sn-record-picker> not showing any result on front end. However, if we reduce the sys_id returning around 200 it is showing the users in front end.

 

Any help on how to improve the performance is much appreciated.

 

Thanks,

Priya

5 REPLIES 5

Tejas Adhalrao
Tera Guru

Hi @Priya3696 ,

<sn-record-picker> slows down or shows blank when too many records (500+) load at once.
Use server-search="true" so it fetches data from the server only when you type.
Also, limit results to around 50–100 records and filter (like only active users).
This improves speed and prevents the picker from freezing.