Muralidharan BS
Mega Sage
Mega Sage

Configure Code Search for better result

 

Code search is a useful feature for finding specific scripts in a large codebase. I recently discovered the code search can be configured to significantly improve the search experience and yield more accurate results.

 

Well, the code search feature we know from the studio is also available here. This is not the best looking page but it does the job.

 

https://instance.service-now.com/sn_codesearch_CodeSearchExampleUse.do

 

The configuration to the code search lies in here. Just create an entry in the related list and include any table and required field from that table to included in the search and pretty much thats it.

 

https://instance.service-now.com/nav_to.do?uri=sn_codesearch_search_group.do?sys_id=9a44f352d7120200...

 

added filter condition as extra field to search for

code search.png

 

Result shows the BR’s matching filter condition field

result.png

 

Thanks,

Murali

Comments
Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

This might speed up expanding the code search:
- 2023-06-19 - Article - Expand Code Search tables

 

Kind regards,
Mark

Version history
Last update:
‎05-21-2024 11:32 AM
Updated by:
Contributors