Drop down DataSources instead of Watchlist
-
I have 100 DataSources for 100 routers. Each DataSource contains 10 Datapoints. I want the user to select a router in the drop down box, and then display its points, like temperature, signal, etc. For each of the 100 routers their datapoints have the same names, like temperature.
In this example: https://help.infiniteautomation.com/linking-to-dynamic-pages/ you have to create a Watch list first. I dont want to create 100 Watch lists (one for each DataSource)
I have had a look at the examples, but I cannot get it working at all.
-
Hi glamprecht,
You can use a parameter of type data source. Then you can use that data source object in crafting the RQL for the query on the 1 watchlist it would take to achieve what I think you're asking.
Go to the Watchlist Builder, make a new point query watchlist
Add a data source parameter
Refer to the value of that parameter, which in this case is a data source object, in the RQL query. I am using the Data Source XID for I need to use the interpolated value
{{DS.xid}}
to get that xid from the data source model.
Profit!