Need to hide first name and Last name. Instead of that Contact should need to be visible.

praveen1231
Tera Contributor

Hello everyone,

My requirements are, need to hide the First name, Last name and also need to display the Contact field in the Reference (sys_user). Requirement 2 is, when I search the particular user eg: Abraham Lincoln, if I search with coln (Abraham Lincoln) should need to display. Please go through with bellow attached screen short. Please let me know If you had any idea. Thank you.

praveen1231_0-1698398252598.pngpraveen1231_1-1698398319161.png

 

1 ACCEPTED SOLUTION

@praveen1231 

Enable contains auto-complete searches
By default, the reference auto-complete uses a starts with search. A user preference can be created to implement a contains search.

Before you begin

Role required: admin
Procedure

  1. Disable the glide.ui.ref_ac.startswith system property.
    Note: Setting the glide.ui.ref_ac.startswith system property to true overrides any existing "autocomplete.contains" settings in both user and system level preferences. This property changes the auto-complete query method for all users regardless of preferences.
  2. Navigate to User Administration > User Preferences.
  3. Select the preference "'<referenced table>.autocomplete.contains"'.
  4. Set the value field to true.
  5. Autocomplete user preference set to true
  6. Click Update.
    What to do next

Log out and log back in to display the updated search.

 

doc link: https://docs.servicenow.com/en-US/bundle/vancouver-platform-administration/page/administer/field-adm...

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.



Best regards

Suyog

View solution in original post

8 REPLIES 8

Aniket Bhanse
Tera Guru

In order to hide the "First Name" and "Last Name", please click on vertical three dots on the User ID field shown below.

AniketBhanse_0-1698398800666.png

Click on three dots >> Configure >> List Layout
From here, drag the field "First Name" and "Last Name" on the Left side. In the similar way, bring in the "Contact" field from the left side to the right side.

AniketBhanse_1-1698398874263.png



Please mark the response as correct or helpful if it helps you.

 @Aniket Bhanse Thank you for replying to my question. But my requirement is to change those field in catalog item form before submitting the order.  Please let me know If you had any idea.

praveen1231_0-1698399636842.png

 

Where are you getting this list view of Users in Catalog item? Please specify

Suyog Aptikar
Giga Guru

@praveen1231 for Requirement 2, can you try '*col' and see if this is solving the problem

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.



Best regards

Suyog