UIB Dashboard Free Text Search of Short Description

hunt4grouse
Tera Contributor

We are on Xanadu and migrated all of our dashboards at once.

 

Prior to our dashboard migration and move to Data Visualization, I used Dynamic Content widgets with Jelly Code to  free text search the short description field of tickets. It filtered the tickets displayed in another list widget. It was very quick and responsive.

 

Dynamic Content is no longer an option. I trying to build then same filter functionality in the Dashboard UI Builder.

 

Has anyone done this? Would you care to share your approach and code?

 

Screenshot of widget with clear filter button.

hunt4grouse_0-1748533983814.png

 

 

3 REPLIES 3

Muhammad Salar
Giga Sage

A simple approach:
Create a Client state parameter, e.g stringPam
Use textarea component, on this component event: update client state parameter on text entered like this

MuhammadSalar_0-1748539643544.png

Then on your list filter, bind that stringPam like this

MuhammadSalar_2-1748539770570.png

 

MuhammadSalar_1-1748539739939.png

 

 





Muhammad Salar
Giga Sage

@Hi @hunt4grouse , have you tried it ?

hunt4grouse
Tera Contributor

Thanks for your response.

I have not tried it yet...I do not have any experience with UI Builder.

Today, I got a new request for Business Applications to be able to put in a key word/term, it would search through the business applications name, alternate name keywords, and/or description to find the related business applications Support Group related to that/those key word/terms entered. Something every itil user on our system would use.

 

I am going to try and create a new UI Builder dashboard and follow your steps above. 

 

Any other recommendations or screenshots are greatly appreciated.