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
a week ago
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
Monday
In the data visualization component, configuring a filter for the data resource dynamically not possible if you have selected static table as data source. In list component, that's possible. and thats what the KB article says. As you want that dynamic configuration in the vertical bar, so thats not possible without scripting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
no @Dibyaratnam , i am using a static table and using static condition but binded to client state. that is exactly what the kb suggests.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
First of all you need to clarify, for which component you want this dynamic configuration. For data visualization it'll not work, for list component only if you are trying to set dynamic filtering you can use the client state parameters in the filter.
To achieve it in visualization component, you have to make the dynamic configuration for data source, where via script you can make it dynamic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
@Dibyaratnam I think you have misunderstood my statement. I am doing a data visualization only , and using the same steps mentioned in the kb, except the event mapping as of now. as per the article, it clearly mentions how to bind the state param. the conditions ,tables are all for the data visualization and follows exact configuration like in the kb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
As per your question, you are trying to add client state parameter to the data visualisation component filter section.
This will not work.
what you see in the KB article, the client state param being added in the List component and not the data visualization component.
To use client state parm. in Data visualization component, you need to do scripting, for which I have shared a reference article in one of my previous replies.