Global text search via api?

jsamm
Giga Contributor

Can you search all incident fields for keywords (full text search) via the rest api?   Is there another way to do full text search from outside servicenow?

1 ACCEPTED SOLUTION

Jace Benson
Mega Sage

I was just in a meeting with some folks from Service-Now about the needs I was having to do search.   There is no restful api to the global search.   They said they appreciated the feedback, but gave no details as what or when anything would be available.   With that being said the best you are going to get is to do keyword gliderecord calls.   However, that doesnt give you a way to order by best match.


View solution in original post

6 REPLIES 6

Jace Benson
Mega Sage

I was just in a meeting with some folks from Service-Now about the needs I was having to do search.   There is no restful api to the global search.   They said they appreciated the feedback, but gave no details as what or when anything would be available.   With that being said the best you are going to get is to do keyword gliderecord calls.   However, that doesnt give you a way to order by best match.


This is essentially what I was told as well.


Daniel Pettet
ServiceNow Employee
ServiceNow Employee

You can now use the logic in the Service Portal widget "Search Page" to use the search system. I've logged a documentation request here:


Document Search API · Issue #97 · service-portal/documentation · GitHub



So still no Search API but the script needed to perform a search properly is all there.


Have we had any movement on this. The GitHub link is dead. I am looking in Jakarta and the search widget is pretty much exactly what I want to have, but via the API. I am assuming that just didn't implement the search in the API yet.



Given that is likely the case, can we sort of spoof a widget externally any way?