Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to display contextual search results for subject field of create case record producer

sukku
Tera Contributor

Hi All,

We have a separate portal build in scoped application xyz.

on this portal we have three widgets knowledge, give help and request something new

We have a create record producer added to this portal when users click on give help. We have subject variable in a record producer which is mapped to short description field.

When we type keywords in this field it should display matching kb articles which is added to this portal.

I did gone through community links and docs and i have configured record producer configurations for this field.but is not displaying any search results.

Could any one guide on this please

1 ACCEPTED SOLUTION

rahulpandey
Kilo Sage

Hi Sukku,

I am able to achieve this via below steps in scoped application

- Created a Record Producer on incident table

- Created a variable names custom_search

- Configured record producer contextual search as shown below

find_real_file.png

 

- Add a new variable type UI macro in record producer and select widget named "contextual search- inline results" as shown below

find_real_file.png

It is working fine as show below

find_real_file.png

Please mark answer correct if this helped you.

View solution in original post

3 REPLIES 3

rahulpandey
Kilo Sage

Hi Sukku,

I am able to achieve this via below steps in scoped application

- Created a Record Producer on incident table

- Created a variable names custom_search

- Configured record producer contextual search as shown below

find_real_file.png

 

- Add a new variable type UI macro in record producer and select widget named "contextual search- inline results" as shown below

find_real_file.png

It is working fine as show below

find_real_file.png

Please mark answer correct if this helped you.

Hi Rahul,

Thanks for you quick help. It's my mistake that i haven't added contextual search line widget to macro variable just macro name i have added. Thank you so much for your help.

 

 

Hi rahul, 

But there is no variable type called 'UI macro' in the record producer. Can you please elaborate?