<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Drop down list of all device names for input]]></title><description><![CDATA[<p dir="auto">I tried the example in the example docs.  I am trying to make a drop down list of all my devices without having to determine the data source.<br />
I use this code :</p>
<pre><code>&lt;!-- Server side query for points with given device name, and server side sort --&gt;
&lt;ma-point-query query="{deviceName:deviceName}" sort="'name'" points="points"&gt;&lt;/ma-point-query&gt;
&lt;ma-get-point-value points="points"&gt;&lt;/ma-get-point-value&gt;

&lt;/head&gt;

&lt;div flex layout="row" layout-align="space-between" layout-padding layout-fill layout-wrap&gt;    
         &lt;md-card flex="45"  flex-xs="100" class="cardcolor"&gt;
                &lt;md-card-content&gt;
                     &lt;md-input-container&gt;
                        &lt;!-- &lt;label&gt;Choose a data source&lt;/label&gt;
                        &lt;ma-data-source-list ng-model="myDataSource"&gt;&lt;/ma-data-source-list&gt; --&gt;
                    &lt;/md-input-container&gt;

                &lt;/md-card-content&gt;
            &lt;/md-card&gt;
        
    
            &lt;md-card flex="45"  flex-xs="100" class="cardcolor"&gt;
                &lt;md-card-content&gt;
                    &lt;div layout="column"&gt;
                        &lt;md-input-container&gt;
                            &lt;label&gt;Device names for selected data source&lt;/label&gt;
                            &lt;ma-device-name-list ng-model="deviceName"&gt;&lt;/ma-device-name-list&gt;
                        &lt;/md-input-container&gt;

                        &lt;h2&gt;All points for device:&lt;/h2&gt;
                        &lt;div ng-repeat="pt in points"&gt;
                            &lt;label&gt;{{pt.name}}: &lt;/label&gt; {{pt.renderedValue}}
                        &lt;/div&gt;

                    &lt;/div&gt;

                &lt;/md-card-content&gt;
            &lt;/md-card&gt;
&lt;/div&gt;
</code></pre>
<p dir="auto">When I run the page, the input container just keeps spinning.  What am I missing?</p>
]]></description><link>https://forum.mango-os.com/topic/2513/drop-down-list-of-all-device-names-for-input</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 17:30:58 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2513.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 Oct 2016 21:12:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Drop down list of all device names for input on Mon, 07 Nov 2016 16:57:25 GMT]]></title><description><![CDATA[<p dir="auto">@atkins-chrisw<br />
v1.1.8 has been released to the store.</p>
]]></description><link>https://forum.mango-os.com/post/13166</link><guid isPermaLink="true">https://forum.mango-os.com/post/13166</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Mon, 07 Nov 2016 16:57:25 GMT</pubDate></item><item><title><![CDATA[Reply to Drop down list of all device names for input on Fri, 04 Nov 2016 16:03:05 GMT]]></title><description><![CDATA[<p dir="auto">@atkins-chrisw<br />
There's the problem, you will need v1.1.8 for the device name REST endpoints. Problem is we haven't released this into the store, sorry for the mixup! I will ensure v1.1.8 is released today.</p>
]]></description><link>https://forum.mango-os.com/post/13139</link><guid isPermaLink="true">https://forum.mango-os.com/post/13139</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Fri, 04 Nov 2016 16:03:05 GMT</pubDate></item><item><title><![CDATA[Reply to Drop down list of all device names for input on Thu, 03 Nov 2016 16:42:02 GMT]]></title><description><![CDATA[<p dir="auto">1.1.7</p>
]]></description><link>https://forum.mango-os.com/post/13123</link><guid isPermaLink="true">https://forum.mango-os.com/post/13123</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Thu, 03 Nov 2016 16:42:02 GMT</pubDate></item><item><title><![CDATA[Reply to Drop down list of all device names for input on Thu, 03 Nov 2016 15:36:36 GMT]]></title><description><![CDATA[<p dir="auto">What version is your mangoApi module? I suspect you have an old version installed.</p>
]]></description><link>https://forum.mango-os.com/post/13120</link><guid isPermaLink="true">https://forum.mango-os.com/post/13120</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Thu, 03 Nov 2016 15:36:36 GMT</pubDate></item><item><title><![CDATA[Reply to Drop down list of all device names for input on Thu, 03 Nov 2016 14:49:04 GMT]]></title><description><![CDATA[<p dir="auto">The funny thing is this isnt even working on the example page.  I can get it to see my data sources, but not the devices.</p>
]]></description><link>https://forum.mango-os.com/post/13119</link><guid isPermaLink="true">https://forum.mango-os.com/post/13119</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Thu, 03 Nov 2016 14:49:04 GMT</pubDate></item><item><title><![CDATA[Reply to Drop down list of all device names for input on Sat, 29 Oct 2016 13:15:39 GMT]]></title><description><![CDATA[<p dir="auto">You were not logged in.</p>
]]></description><link>https://forum.mango-os.com/post/13062</link><guid isPermaLink="true">https://forum.mango-os.com/post/13062</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Sat, 29 Oct 2016 13:15:39 GMT</pubDate></item><item><title><![CDATA[Reply to Drop down list of all device names for input on Fri, 28 Oct 2016 21:40:37 GMT]]></title><description><![CDATA[<p dir="auto">my rest.enabled is true.<br />
when I tried the url you gave me.  I got htis error</p>
<p dir="auto">HTTP ERROR 403</p>
<p dir="auto">Problem accessing /rest/v1/device-names. Reason:</p>
<pre><code>Access Denied
</code></pre>
]]></description><link>https://forum.mango-os.com/post/13056</link><guid isPermaLink="true">https://forum.mango-os.com/post/13056</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 28 Oct 2016 21:40:37 GMT</pubDate></item><item><title><![CDATA[Reply to Drop down list of all device names for input on Fri, 28 Oct 2016 21:26:14 GMT]]></title><description><![CDATA[<p dir="auto">Check your log file.<br />
Try <code>http://ip:port/rest/v1/device-names</code> in your browser's URL.<br />
Check your env.properties file for rest.enabled=true<br />
Use swagger to test the endpoint.<br />
Check to ensure you're using a short dash (hyphen, lower case underscore) instead of a long dash or a medium dash in the URL.</p>
]]></description><link>https://forum.mango-os.com/post/13054</link><guid isPermaLink="true">https://forum.mango-os.com/post/13054</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Fri, 28 Oct 2016 21:26:14 GMT</pubDate></item><item><title><![CDATA[Reply to Drop down list of all device names for input on Fri, 28 Oct 2016 20:59:57 GMT]]></title><description><![CDATA[<p dir="auto">I fixed the body tags and refreshed the page.</p>
<p dir="auto">I am getting this error in our Rest Errors</p>
<p dir="auto">Oct 28, 2016 2:58 PM	404	Not Found	GET	/rest/v1/device-names</p>
]]></description><link>https://forum.mango-os.com/post/13053</link><guid isPermaLink="true">https://forum.mango-os.com/post/13053</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 28 Oct 2016 20:59:57 GMT</pubDate></item><item><title><![CDATA[Reply to Drop down list of all device names for input on Fri, 28 Oct 2016 20:47:28 GMT]]></title><description><![CDATA[<p dir="auto">There's a couple ways to have unbalanced tags, either with something like this occurring:</p>
<pre><code>&lt;b&gt;&lt;i&gt;&lt;/b&gt;&lt;/i&gt;
</code></pre>
<p dir="auto">or something like this...</p>
<pre><code>&lt;div&gt; My unclosed div!
&lt;div&gt; My closed div! &lt;/div&gt;
</code></pre>
<p dir="auto">The issue I notice in the HTML you just posted was that you do not have a &lt;body&gt; section. I would presume everything after your &lt;/head&gt; should be in the &lt;body&gt;...&lt;/body&gt; tags.  <a href="http://www.w3schools.com/tags/tag_body.asp" rel="nofollow ugc">http://www.w3schools.com/tags/tag_body.asp</a></p>
]]></description><link>https://forum.mango-os.com/post/13051</link><guid isPermaLink="true">https://forum.mango-os.com/post/13051</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Fri, 28 Oct 2016 20:47:28 GMT</pubDate></item><item><title><![CDATA[Reply to Drop down list of all device names for input on Fri, 28 Oct 2016 19:46:01 GMT]]></title><description><![CDATA[<p dir="auto">What is an unbalanced tags?</p>
<pre><code>&lt;head&gt;  

&lt;!-- Server side query for points with given device name, and server side sort --&gt;
&lt;ma-point-query query="{deviceName:deviceName}" sort="'name'" points="points"&gt;&lt;/ma-point-query&gt;
&lt;ma-get-point-value points="points"&gt;&lt;/ma-get-point-value&gt;

&lt;/head&gt;

&lt;div flex layout="row" layout-align="space-between" layout-padding layout-fill layout-wrap&gt;    
         &lt;md-card flex="45"  flex-xs="100" class="cardcolor"&gt;
                &lt;md-card-content&gt;
                     &lt;md-input-container&gt;
                        &lt;!-- &lt;label&gt;Choose a data source&lt;/label&gt;
                        &lt;ma-data-source-list ng-model="myDataSource"&gt;&lt;/ma-data-source-list&gt; --&gt;
                    &lt;/md-input-container&gt;

                &lt;/md-card-content&gt;
            &lt;/md-card&gt;
        
    
            &lt;md-card flex="45"  flex-xs="100" class="cardcolor"&gt;
                &lt;md-card-content&gt;
                    &lt;div layout="column"&gt;
                        &lt;md-input-container&gt;
                            &lt;label&gt;Device names for selected data source&lt;/label&gt;
                            &lt;ma-device-name-list ng-model="deviceName"&gt;&lt;/ma-device-name-list&gt;
                        &lt;/md-input-container&gt;

                        &lt;h2&gt;All points for device:&lt;/h2&gt;
                        &lt;div ng-repeat="pt in points"&gt;
                            &lt;label&gt;{{pt.name}}: &lt;/label&gt; {{pt.renderedValue}}
                        &lt;/div&gt;

                    &lt;/div&gt;

                &lt;/md-card-content&gt;
            &lt;/md-card&gt;
&lt;/div&gt;

</code></pre>
]]></description><link>https://forum.mango-os.com/post/13049</link><guid isPermaLink="true">https://forum.mango-os.com/post/13049</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 28 Oct 2016 19:46:01 GMT</pubDate></item><item><title><![CDATA[Reply to Drop down list of all device names for input on Thu, 27 Oct 2016 15:26:24 GMT]]></title><description><![CDATA[<p dir="auto">There's no issue with your <code>&lt;ma-device-name-list ng-model="deviceName"&gt;&lt;/ma-device-name-list&gt;</code> tag, I suspect you have unbalanced tags or something, possibly due to the <code>&lt;/head&gt;</code> which appears in your code.</p>
<p dir="auto">Can you please make sure you put three backticks around any code you post, press the <code>&lt;/&gt;</code> button to insert them automatically.</p>
]]></description><link>https://forum.mango-os.com/post/13024</link><guid isPermaLink="true">https://forum.mango-os.com/post/13024</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Thu, 27 Oct 2016 15:26:24 GMT</pubDate></item></channel></rss>