
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2022 09:36 PM
Hi All,
I have a list collector variable referencing to the user table. I just need my end user to search the users with the help of userId(user_name) instead of name. What attribute i need to use?
I have tried glide_list,ref_auto_completer=AJAXTableCompleter,ref_ac_columns=user_name,ref_ac_columns_search=true,ref_ac_display_value=false
It didn't worked. any help on this?
Regards,
Sirraj
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 06:49 AM
Hi,
it should work fine
Portal screenshot i searched with user id
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 12:56 AM
Hi,
this should be fine; But remember this point
1) the display value i.e. name field will still be shown when user types in user name value
2) removal of name from the search is not possible
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=user_name,ref_ac_columns_search=true,ref_ac_display_value=false
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 06:42 AM
Hi Ankur
Thank you for the response. Yes I need to search with name as well as userID. Currently it is working only for name. And the mentioned attribute is not working. When i put user_name (userID), not getting user in the list collector.
Regards,
Sirraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 06:49 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 07:03 AM
Thank you Ankur, it didn't show up in item view. But it worked in portal view, thank you..
Regards,
Sirraj