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

V_ Tran
Kilo Expert

The Search input component has a 'Search Term' field in UIB. Are you talking about the Search Results component?

Edited: I think this is how search input and search results work together.  You have to add a custom data resource for the search results component to consume. Your Search input component can trigger this data resource. Due to SN's poor documentation on this subject, it's not clear what type of data resource we need to set up. Maybe there's already a  'search results' data resource?

RK RK
Kilo Contributor
Hi , i have added a search input inorder to allow the user to search the term i want to send this search term as an input to the search results inorder to get the search results based on the the search context config...but i dont see anything as searchterm a propert to set the value like how we have on workspace global searc..the toughest part here is as u mentioned no documentation with atleast one example on any of the now components except the now component library in developer site which is of hogh level and not sure how to use that library details..thats y trying for helping hand from @brad tilton

Search input can't talk directly to search results. You need a data resource. Maybe look in Data Resource instances/global/Look Up Record.   I bet your search input and search results can bind to this Look-Up Record resource instance.

RK RK
Kilo Contributor
Hi , yes i created a data resource...only thing here left is how to pass search term from search input to searchbresults to process the search output