Searching using a custom string attribute on sc_cat_item

Sanjay Rallapal
Tera Expert

Hello all

How does one go about enabling search on a custom attribute added to the sc_cat_item table?

I have a custom attribute u_lob_head, String and I have specified an index. However, when I execute
a GET using the REST API explorer in the form

https://XXX.service-now.com/api/now/table/sc_cat_item?sysparm_query=u_lob_head=bob.rodgers

 

The search condition is ignored.

1 ACCEPTED SOLUTION

Anand Kumar P
Giga Patron
Giga Patron

Hi @Sanjay Rallapal ,

Try below one replacing your instance name with get method 

https://XXX.service-now.com/api/now/table/sc_cat_item?sysparm_query=u_lob_headLIKEbob.rodgers

 

If my response helped, please mark it as the accepted solution and give a thumbs up👍.
Thanks,
Anand

View solution in original post

1 REPLY 1

Anand Kumar P
Giga Patron
Giga Patron

Hi @Sanjay Rallapal ,

Try below one replacing your instance name with get method 

https://XXX.service-now.com/api/now/table/sc_cat_item?sysparm_query=u_lob_headLIKEbob.rodgers

 

If my response helped, please mark it as the accepted solution and give a thumbs up👍.
Thanks,
Anand