Get values of dropdown in client scripts

Akki1
Tera Contributor

In Service operations workspace I have created a dropdown and I need to get the values of dropdown and on that basis I'm updating a value in client state parameter. I'm controlling a list filter on the basis of dropdown I'll put in if. How to fetch and use the values in the client script.

5 REPLIES 5

1)As soon as you select the dropdown, store the value in a state parameter by going to the event section and choosing the event handler as Update State parameter. 

2) The label of the visualisation you can dynamically change based on the dropdown selection as you are storing that value in state param. so you can bind the title of the Vis. component with the state parameter.

If you want to hide the report, then you can also do that using the state parameter.