Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

I want to create a custom search source for global search

Saad Dabre
Tera Contributor

Hello Community,

I am trying to configure a custom search source in Global Search, and I need some guidance.

Current Behavior:
When I search for a case number in Global Search, it returns the request record (since the case is linked to the request via the parent field).

Desired Behavior:
I want to create a custom search source that, instead of returning the request, will return the RITM record where the request's parent matches the search term.

What I Tried:
To implement this, I added the following filter condition in the search source:
Request.Parent.Number is @search-term.

However, this does not seem to work. When I replace @search-term with a static value, it works as expected. But using the dynamic @search-term variable does not return any results.

Has anyone encountered a similar issue with @search-term in custom search sources? Any advice or best practices to achieve this functionality would be greatly appreciated.

 

Thank you in advance for your help!

 

Best regards,
Saad

0 REPLIES 0