Global Search Displaying sys_id for Title

Laurie Marlowe1
Kilo Sage

Hello,

We have added a custom table for Service Requests.   When using global search, the sys_id appears in the Title.   How do you change this?   I was unable to find any documentation on where to make the change   for what you want to display as the Title for each ticket.

Capture.JPG

Thank you,

Laurie

1 ACCEPTED SOLUTION

Hi Laurie,



We upgrade to Jakarta yesterday and today we faced the same issue but for incidents, the short description wouldn't show and instead the sys_id, to fix this what I did was deleting existing text_search views for incident, create a new global one with the same name text_search (via list layout) and added the short description field after the number field ( the wiki says: Global search uses the first string field in the text search view that is not the number field.) , I didn't need to change anything in the property glide.ui.text_search.view to make this work, it was empty for me already.



Hope it helps.



Cheers,


Diogo


View solution in original post

22 REPLIES 22

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

You may have set more than one column's display value to true.   Try this URL with your instance:


/sys_dictionary_list.do?sysparm_query=name%3Dsc_request%5EORname%3Dtask%5Edisplay%3Dtrue



If you see more than the task's number field that is why.


find_real_file.png


Hi Michael,



There is only one display value set to true, and that is number.



Any other ideas?



Thanks,



Laurie


Hi Laurie,



We upgrade to Jakarta yesterday and today we faced the same issue but for incidents, the short description wouldn't show and instead the sys_id, to fix this what I did was deleting existing text_search views for incident, create a new global one with the same name text_search (via list layout) and added the short description field after the number field ( the wiki says: Global search uses the first string field in the text search view that is not the number field.) , I didn't need to change anything in the property glide.ui.text_search.view to make this work, it was empty for me already.



Hope it helps.



Cheers,


Diogo


Hi Diogo,



You are correct.   This is the response I received from ServiceNow:



Most Probable Cause: Due to the change in Global Search in Jakarta, the tables need to have a text_search list view for the results to show up in the correct format. Solution Proposed: 1. Go to the custom table list view. 2. Go to Configure>List Layout 3. Create a new view and name it text_search 4. The columns added in the view are the ones that would show up in the search results with the first field showing up with the hyperlink. 5. run the "cache.do" to clear the cache.


Very helpful thank you Diogo!