• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Drop down DataSources instead of Watchlist

    Dashboard Designer & Custom AngularJS Pages
    2
    2
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      glamprecht
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        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
        0_1544643861891_step1.png

        Add a data source parameter
        0_1544643899633_step2.png

        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.
        0_1544643923734_step3.png

        Profit!
        0_1544643934663_step4.png

        1 Reply Last reply Reply Quote 0
        • First post
          Last post