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.
How to limit list entries to a particular data source?
-
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>
-
Deleted
-
Thanks for the SPAM. NOT
-
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.
-
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>
-
Thanks Jared, I played with that all day yesterday but could not work out the values to the query. :)
-
Both of these examples worked for me. You might want to make sure your dashboards module is the latest one.
-
I should have said first that it works with your suggestion and that I had played with it all day yesterday with little success :)
-
Ok so I'm going to assume you got that working then?