I want to create a custom search source for global search
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2025 12:50 AM
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