Replies: 1 comment 7 replies
-
If you set a URL on the client and set a parameter, you will be promoted for the parameter's value when creating the visualization. The URL on the client doesn't have to be the actual URL, it can be a fake URL, as long as your server set's the data source to the proper URL in the |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys, I have another one for you.
My current requirement is to pass REST API parameters to the individual Visualization programmatically but it must be for an individual instance of that visualization data source.
An example would be:
Visualization 1 with REST Datasource that accepts a list of Well Identifiers and a list of Trend Identifiers.
Wells: 1,5
Trends: 150, 75
Visualization 2 with the same REST Datasource that accepts a list of Well Identifiers and a list of Trend Identifiers.
Wells: 1,5
Trends: 300, 25
The end result is two visualizations that have comparison trends for two wells. Or n number of trends and n number of wells technically.
We know you can pass values in through the header. However this does not seem like it would work as we would not want the values overwritten and we would not be able to distinguish the different instances of the REST data source.
We also know you can turn on URL parameters and have the user manually enter the values in the "Set up your data" page.
However, the user will not have the knowledge of the identifiers and plus it is cumbersome and prone to data entry errors.
Is there a way to populate these individual visualization parameters programmatically?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions