How do we bind/use state param in data source condition of data visualization?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
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
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]
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
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
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
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
From the value select Bind data
Type the value as below and client state parameter defined will show up in dropdown, select it
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
Dashboard - Resolved Incidents Selected from Single Score
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
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?