1 of 1 people found this helpful
This has been covered a lot of times in the forums already. Please be sure to search next time:
thanks for the Response. But above mention thread did not answer my second question about what is correct way of calling multiple changeParameterAsynch method ?
Should I wait for first changeParameterAsync method to complete then call the second changeParameterAsync method Or both the call can be simultaneously ?
I'd take a look at the other results in the search and see if you can't find your answer. I don't know which is the right approach. If it were me, I wouldn't wait I'd fire them both off and if that didn't work for whatever reason, I'd implement a wait.
Here is my finding invoking parallel calls to setparameter is not working we need to wait for first call to finished and then give a call to another one.
I have the same issue, and nothing in that search is relevant, except where it links back to this same thread. The OP asked about parameters, not filters. Replacing "filters" in the above search with "parameters," here's what comes up:
Looking through that search, I found one other thread on the topic, with no replies:
So, the answer appears to be that there is no way to do this.
I would agree that based on current forum communications, there is no way for multiple parameter selection.
However, under recent 2018.1 update, I would keep a open mind and open-eye out on dashboard extension that may provide a "workaround" for multiple parameter selection via dashboard extension API.
Dashboard extension API is very new for me to keep to date at this time.
That being said, before dashboard extension consideration, I would encourage the developer to re-visit on the data planning and dashboard planning side.
Do you really need multiple parameter selection?
Are there other alternative you have explored.
The analogy I'm trying to imply is: "Crawl before you walk."
I am trying to do the same thing because i have individual parameters that take 2.5 seconds to update in the Viz, and I have 30 of them. I am hoping that being able to apply them all at once would make it more performant - but not finding a way to do that.
I am trying the following though and so far am getting good results - but needs more testing.
I call viz.pauseAutomaticUpdatesAsync before applying any updates to params.
Then i apply all my updates and then I call
So far this seems to be working as expected and improving performance!