Ui Builder Search Input

RK RK
Kilo Contributor

Hi

1.I am trying to pass the search term into Search Results now component .For other search components we have search term but I don't see anything like that in this component .Can I use "Metadata "?if yes how can I populate the searchTerm dynamically into the Search results now component.

 

find_real_file.png

@Brad Tilton / @Chuck Tomasi  :Could you please help me here?Kindly share the ui builder blogs or yt videos which speaks on all search components available in UI builder

Thanks,

RK

9 REPLIES 9

Bradley Marin
Giga Guru

Did you ever get this figured out? I am currently trying to do the same thing and am still finding a lack of documentation on the matter.

Guido Bernuetz
Giga Guru

What's the use case? What's your goal?

  • Do you want to search in one table and select one record?
  • OR: Do you want to search in one table and have a result set of multiple records?
  • OR: Do you want to search in multiple tables and have different result sets?

For the 1st use case the "Select" component is very useful. It does all in ones. Searching in a selection list and give back data of selected item(record). 
find_real_file.png

Pls give more details. Then I can try to help you.

I am not a helpful hunter.
I will always try to give a meaningful and valid answer.

I am trying to implement just a general search field into the Service Operator Workspace. The main thing I imagine the users searching for would be knowledge base articles, but it would also be useful to have it set up so they can search for incidents/alerts/etc. Thanks!

ColeM
Tera Expert

I was able to get this working by replicating the search functionality from the auto-generated Search Page when creating a Service Portal experience from App Engine Studio.  On the landing page there's another example of a search box that submits & directs to the search page  that can also be helpful.  

 

To get an example experience and search page go to App Engine Studio > Create (or open) app > Add Experience > Select Experience: Portal > Begin ... Once you've created the experience, open it in UI builder and navigate to the example search page. 

 

The things to replicate are the Events, Data Resource, Client State Parameters, & Client Scripts.

I used the Search EVAM data resource for the data resource titled 'Search Composite Data Broker 1' on the example page.  SearchConfig_AppEngineStudio.PNG

Thanks for the tip on the Search EVAM data resource,  that seems to be the key to getting it to work. I expanded on how to get it set up in a related post since there still doesn't seem to be much documentation on it if anyone needs it.

https://www.servicenow.com/community/developer-forum/how-to-configure-search-input-and-search-result...