How do we bind/use state param in data source condition of data visualization?

Sharique Azim
Mega Sage

I am not able to bind the state client parameter or any data resource on the condition of table data source in data visualization.

Nor does @ state ."{Name of  State}" works.

 

Let say I have a table called software archive 

 

Screenshot 2025-09-12 231540.png

After editing,  i do not see the option to bind the condition, neither i can set like

sys id -> is ->

@STate."selectedManager"

 [which is the name of the state param]

Screenshot 2025-09-12 231657.png

Screenshot 2025-09-12 231833.png

Please refer attached image.

 

I followed this document from which doesn't works
KB1290070 Dynamic Data Binding - How to update a List component when Data Visualization is clicked 

 

I am also attaching images in case it looks blurry.

 

Regards,
Shariq

2 REPLIES 2

Bhuvan
Kilo Patron

@Sharique Azim 

 

You might not have used dynamic data binding before, hence finding it challenging when defining for the first time.

 

Follow steps more carefully, below is replica of Knowledge Article. Create 3 single score widgets and 1 list visualization to show count of incidents in New, Work In Progress and Resolved state and on click of single score widget, list should populate the related records

 

I believe you know the steps to add data source and filter conditions to visualizations. So we can skip that step

 

Add a Client State Parameters with initial value of 0, so when Technical Dashboard is loaded list visualization will not show any data

Bhuvan_0-1757774588707.png

For each of the single score widget, add event handler 'Set client state parameter' and set the value of state that would be dynamically passed to List. For example, New you will set value of 1, Work In Progress with value of 2 and Resolved with value of 6

Bhuvan_1-1757774783508.png

From the List, go to data source and add the table details and select 'Use static input' [pencil icon] and select Edit fixed filter. From the drop down select the field to be used with client state parameter and operator

Bhuvan_2-1757774937156.png

From the value select Bind data

Bhuvan_4-1757775241677.png

Type the value as below and client state parameter defined will show up in dropdown, select it 

Bhuvan_6-1757775496874.png

 

Bhuvan_5-1757775355231.png

Now when you click any single score widget, client state parameter will be set as part of event handler and list will dynamically filter the data and show related records

 

Dashboard - On Load

Bhuvan_7-1757775627899.png

Dashboard - Resolved Incidents Selected from Single Score

Bhuvan_8-1757775683184.png

I hope you appreciate the efforts to provide you with detailed information. If my response helped to guide you or answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

Dear @Bhuvan  

I think there may have been a misunderstanding — the approach you’ve described doesn’t apply to the specific dynamic data binding scenario outlined in my original post. 

Data Visualization Data source(as also observed in the screenshot and content).

Could you please re‑read the original post to see the exact scenario I’m referring to, and let me know your thoughts on that?