• 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

    How to limit list entries to a particular data source?

    Dashboard Designer & Custom AngularJS Pages
    5
    9
    2.5k
    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.
    • V
      v8dave
      last edited by

      I use the following to allow the user to select a value to be shown on a chart. The issue is that is shows all data point for all sources. How do I limit this display to only a particular data source?

      <md-input-container class="md-block no-errors-spacer">
              <label>Choose a point</label>
              <ma-point-list ng-model="myPoint"></ma-point-list>
      </md-input-container>
      
      
      1 Reply Last reply Reply Quote 0
      • A
        Automationforum Banned
        last edited by phildunlap

        Deleted

        1 Reply Last reply Reply Quote -2
        • V
          v8dave
          last edited by

          Thanks for the SPAM. NOT

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

            Sorry about that Dave, hopefully someone will come by and actually offer thoughts on the topic. I suspect the answer is going to involve encoding an RQL query, but someone else may need to help with the specific expression of that query.

            Automationforum, I don't feel like you deserved to be banned for that (seem like a real link, and since you only posted once you seem like a person), but we don't appreciate spamming other people's topics. If you want to start a single thread and explain how the website you linked to is relevant to our users you may. However, you may not commandeer others' threads to that purpose.

            1 Reply Last reply Reply Quote 0
            • Jared WiltshireJ
              Jared Wiltshire
              last edited by

              Hey v8dave, you would do this

              <ma-point-list ng-model="myPoint" query="{deviceName:'Your Device Name'}"></ma-point-list>
              

              OR

              <ma-point-list ng-model="myPoint" query="{dataSourceXid:'YOUR_DS_XID'}"></ma-point-list>
              

              Developer at Radix IoT

              1 Reply Last reply Reply Quote 0
              • V
                v8dave
                last edited by

                Thanks Jared, I played with that all day yesterday but could not work out the values to the query. :)

                1 Reply Last reply Reply Quote 0
                • JoelHaggarJ
                  JoelHaggar
                  last edited by

                  Both of these examples worked for me. You might want to make sure your dashboards module is the latest one.

                  1 Reply Last reply Reply Quote 0
                  • V
                    v8dave
                    last edited by

                    I should have said first that it works with your suggestion and that I had played with it all day yesterday with little success :)

                    1 Reply Last reply Reply Quote 0
                    • JoelHaggarJ
                      JoelHaggar
                      last edited by

                      Ok so I'm going to assume you got that working then?

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