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

 

 

2 REPLIES 2

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 ?