<?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[Difficulty handling simple objects, not described in the videos.]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">from the videos and tutorials of this site, I try to make links between synoptics, but without success.</p>
<p dir="auto">I tried, to recover bits of codes, to make a link from one page to another, but even with contextual help, I can not.</p>
<p dir="auto">I can not understand this Angular JS code, and how to insert it, to get what I want.</p>
<p dir="auto">For example, I insert this code, taken from a video, in order to display the buttons</p>
<p dir="auto"><img src="https://i.imgur.com/kxLf0ko.png" alt="0_1566222944689_boutons jaunes ajoutés script.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I get this:</p>
<p dir="auto"><img src="https://i.imgur.com/1OUKlic.png" alt="0_1566223202128_boutons jaunes ajoutés.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">To be able to assign them coordinates, I am obliged to assign them a style like this:</p>
<p dir="auto">style = "position: absolute; left: 372px; top: 28.8667px;"&gt;</p>
<p dir="auto">To obtain this:</p>
<p dir="auto"><img src="https://i.imgur.com/p4qszar.png" alt="0_1566223259451_bouton avec style.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">but, I can not change this button, directly from the Mango interface, I can do it only in edit mode.</p>
<p dir="auto">you will agree, that if one does not master the HTML well, and the classes associated with the objects, .., It is still very difficult for a PLC programmer , to be able to use the buttons, to make links between synoptics, synoptics all at short.</p>
<p dir="auto">What should be done to make synoptics, as we usually do in Web server? (wago for example?)</p>
<p dir="auto">A tutorial like the one made for, Ma-set-point-value, my-switch, my-point-value, the watchlist, or excel reports to describe by the example my-button would be welcome.</p>
<p dir="auto">Because, even with the help, it is very difficult to understand how to make a link between two pages.</p>
<p dir="auto">To exploit the explanations ui-router site github, it takes a seasoned computer scientist who knows the HTML, JavaScript.</p>
<p dir="auto">best regards</p>
]]></description><link>https://forum.mango-os.com/topic/4404/difficulty-handling-simple-objects-not-described-in-the-videos</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Mar 2026 08:06:18 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4404.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Aug 2019 13:50:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Difficulty handling simple objects, not described in the videos. on Thu, 22 Aug 2019 06:17:53 GMT]]></title><description><![CDATA[<p dir="auto">Hello Jared,</p>
<p dir="auto">I found my error .</p>
<p dir="auto">It was the custom page properties,  with  « user » level declared  , instead of admin or superadmin level.<br />
If I set Require role with admin and superadmin to another custom page in the edit menu item , I can see it in the drop down list of « link to state » .<br />
I have to study   user properties .</p>
<p dir="auto">now I can realize several pages .<br />
But I know that i have a huge work to understand the behaviour of mango software and also angular.</p>
<p dir="auto">Thanks for your help</p>
]]></description><link>https://forum.mango-os.com/post/23243</link><guid isPermaLink="true">https://forum.mango-os.com/post/23243</guid><dc:creator><![CDATA[JF89]]></dc:creator><pubDate>Thu, 22 Aug 2019 06:17:53 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty handling simple objects, not described in the videos. on Wed, 21 Aug 2019 21:01:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jf89">@<bdi>jf89</bdi></a> said in <a href="/post/23235">Difficulty handling simple objects, not described in the videos.</a>:</p>
<blockquote>
<p dir="auto">You said :<br />
Any custom page with a registered menu item will show up in this list (link to state list )<br />
But , in the following screenshots you'll can see that the differents custom pages doesn't appear in the list when i want to select a page for link to state. (just mango sytem pages and ui.dataPointDetails</p>
</blockquote>
<p dir="auto">I didn't just say "Any custom page", the caveat was "with a registered menu item".</p>
<p dir="auto">Again, you have not read the help article I linked to. The very first paragraph says "Using the Edit Menu page you can set up menu items for your custom pages, which will also create UI states which you can route to."</p>
]]></description><link>https://forum.mango-os.com/post/23238</link><guid isPermaLink="true">https://forum.mango-os.com/post/23238</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Wed, 21 Aug 2019 21:01:42 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty handling simple objects, not described in the videos. on Wed, 21 Aug 2019 19:33:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire">@<bdi>jared-wiltshire</bdi></a> said in <a href="/post/23226">Difficulty handling simple objects, not described in the videos.</a>:</p>
<blockquote>
<p dir="auto">Any custom page with a registered menu item will show up in this list</p>
</blockquote>
<p dir="auto">You said :<br />
Any custom page with a registered menu item will show up in this list (link to state list )</p>
<p dir="auto">But , in the following screenshots you'll can see that the differents custom pages doesn't appear in the list when i want to select a page for link to state. (just mango sytem pages and ui.dataPointDetails</p>
<p dir="auto"><img src="https://i.imgur.com/pgTJPOG.png" alt="0_1566416338022_lien_page_2b.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://i.imgur.com/Xgn45ZT.png" alt="0_1566416411053_lien_page_2c.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">**BUT THERE ARE MORE THAN ** CUSTOM PAGES as you can see below</p>
<p dir="auto"><img src="https://i.imgur.com/6veylDn.png" alt="0_1566416458025_lien_page_2d.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://i.imgur.com/G9b2pkz.png" alt="0_1566416504536_lien_page_2e.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://i.imgur.com/E587Qcw.png" alt="0_1566416513127_lien_page_2f.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.mango-os.com/post/23235</link><guid isPermaLink="true">https://forum.mango-os.com/post/23235</guid><dc:creator><![CDATA[JF89]]></dc:creator><pubDate>Wed, 21 Aug 2019 19:33:29 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty handling simple objects, not described in the videos. on Wed, 21 Aug 2019 16:03:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jf89">@<bdi>jf89</bdi></a> said in <a href="/post/23223">Difficulty handling simple objects, not described in the videos.</a>:</p>
<blockquote>
<p dir="auto">With ma-button  and the component « Link to state », from drop down it’s only possible to make a link to a « system « page  of mango. (example ui.watchlist-watch lists etc..)</p>
</blockquote>
<p dir="auto">This is categorically incorrect. Any custom page with a registered menu item will show up in this list.</p>
<p dir="auto">It seems that you have not read the help articles I posted earlier. I have provided the resources you need to accomplish this task, I can't help you any further.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jf89">@<bdi>jf89</bdi></a> said in <a href="/post/23223">Difficulty handling simple objects, not described in the videos.</a>:</p>
<blockquote>
<p dir="auto">Other question : When you select Choose page to edit in the dashboard designer , is it possible to organise custom pages in folders ans subfolders ?</p>
</blockquote>
<p dir="auto">No.</p>
]]></description><link>https://forum.mango-os.com/post/23226</link><guid isPermaLink="true">https://forum.mango-os.com/post/23226</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Wed, 21 Aug 2019 16:03:17 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty handling simple objects, not described in the videos. on Wed, 21 Aug 2019 12:58:43 GMT]]></title><description><![CDATA[<p dir="auto">Hello Jared,</p>
<p dir="auto">Thanks for your answer.</p>
<p dir="auto">I’m going to make short and simple  sentences.</p>
<p dir="auto">My problem is , that I unable to realise a simple link between two custom pages.</p>
<p dir="auto">With ma-button  and the component « Link to state », from drop down it’s only possible to make a link to a « system « page  of mango. (example ui.watchlist-watch lists etc..)</p>
<p dir="auto">You said :<br />
If you need to add a state parameter, you will need to edit the markup, use the ui-state and ui-state-params attributes as shown in the screenshot you already posted.</p>
<p dir="auto">In the previous screenshot  I already posted , I added :<br />
&lt;md-button ui-state="'ui.dataPointDetails'" ui-state-params="{ pointXid: 'internal_mango_num_data_points' }" class="md-raised md-primary"&gt;<br />
Go to Details<br />
&lt;/md-button&gt;</p>
<p dir="auto">Soo, as you said , in the « link to state » option  I can choose 'ui.dataPointDetails'</p>
<p dir="auto">But it’s still a « system » mango page.</p>
<p dir="auto">How to insert a specific  ui-state and ui-state-params attributes in the custom page 2, to be allowed in the « Link to state » attribute of ma-button  (in custom page 1) to have that link  that is making reference to custom page 2 ?<br />
I ‘m talking about ui-state and ui-state-params attributes , but it’s perhaps other attributes .</p>
<p dir="auto">Other question : When you select Choose page to edit in the dashboard designer , is it possible to organise custom pages in folders ans subfolders ?</p>
<p dir="auto">Best regards</p>
]]></description><link>https://forum.mango-os.com/post/23223</link><guid isPermaLink="true">https://forum.mango-os.com/post/23223</guid><dc:creator><![CDATA[JF89]]></dc:creator><pubDate>Wed, 21 Aug 2019 12:58:43 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty handling simple objects, not described in the videos. on Tue, 20 Aug 2019 15:43:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jf89">@<bdi>jf89</bdi></a> said in <a href="/post/23206">Difficulty handling simple objects, not described in the videos.</a>:</p>
<blockquote>
<p dir="auto">The problem is that the pointXid link: internal_mango_num_data_points is a link to a system variable in the mango software to display a list of points.<br />
Or, the link I want, is to call another custom page created.<br />
And I do not see, variable pointXid, assigned to this new page.<br />
even in the following screenshot (help for ma_button) , i don't understand where it's possible , to put the name of the link that will go to open the selected page.</p>
</blockquote>
<p dir="auto">I don't know what your issue is. If you have a question, please pose it in a succinct manner. If English is not your first language, please check your translation. I am having difficulty understanding your questions, if indeed you are asking any.</p>
<p dir="auto">I will say this, the <code>ma-button</code> component has a property labelled in the dashboard designer as "Link to state", you can choose a page to link to from this drop down. If you need to add a state parameter, you will need to edit the markup, use the <code>ui-state</code> and <code>ui-state-params</code> attributes as shown in the screenshot you already posted.</p>
]]></description><link>https://forum.mango-os.com/post/23216</link><guid isPermaLink="true">https://forum.mango-os.com/post/23216</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Tue, 20 Aug 2019 15:43:24 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty handling simple objects, not described in the videos. on Tue, 20 Aug 2019 12:38:12 GMT]]></title><description><![CDATA[<p dir="auto">Hello Jared,<br />
Thank you for that answer.<br />
I have incorporated the code given below to use a button, as below:</p>
<p dir="auto"><img src="https://i.imgur.com/gZIgiNz.png" alt="0_1566303240455_lien vers details script.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Here's what I get:</p>
<p dir="auto"><img src="https://i.imgur.com/Zy8dGnW.png" alt="0_1566303264853_lien vers details.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">By improving, that with layout, carries a button less wide. (at the right bottom corner)</p>
<p dir="auto"><img src="https://i.imgur.com/AhJ8u78.png" alt="0_1566303297536_lien vers details script avec layout.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://i.imgur.com/0xgqUT5.png" alt="0_1566303342110_lien vers details avec layout.png" class=" img-fluid img-markdown" /><br />
(I know that a button need a id attribute to drag the buttons around the page.<br />
But the screenshot was made before you gave me that indication.)<br />
The problem is that the pointXid link: internal_mango_num_data_points is a link to a system variable in the mango software to display a list of points.</p>
<p dir="auto">Or, the link I want, is to call another custom page created.</p>
<p dir="auto">And I do not see, variable pointXid, assigned to this new page.</p>
<p dir="auto">even in the following screenshot (help for ma_button) , i don't understand where it's possible , to put the name of the link that will go to open the selected page.</p>
<p dir="auto"><img src="https://i.imgur.com/z97aOhH.png" alt="0_1566304155368_ma-button.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">That's why, the command of the HTML language, and JavaScript, applied to this mango software, seems to me a huge job, for the PLC programmer that I am.</p>
<p dir="auto">However, with some videos, like the report excel, the buttons instructions, Watch list, import of data, I manage to reproduce its functions.</p>
<p dir="auto">But the problem is that it would take videos for every feature I need.</p>
<p dir="auto">best regards</p>
]]></description><link>https://forum.mango-os.com/post/23206</link><guid isPermaLink="true">https://forum.mango-os.com/post/23206</guid><dc:creator><![CDATA[JF89]]></dc:creator><pubDate>Tue, 20 Aug 2019 12:38:12 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty handling simple objects, not described in the videos. on Mon, 19 Aug 2019 15:48:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jf89">@<bdi>jf89</bdi></a> said in <a href="/post/23188">Difficulty handling simple objects, not described in the videos.</a>:</p>
<blockquote>
<p dir="auto">from the videos and tutorials of this site, I try to make links between synoptics, but without success.</p>
</blockquote>
<p dir="auto">You have used the term "synoptics" several times through your post, I am not sure what you mean by this. I will assume you are talking about pages.</p>
<p dir="auto">Here is a link from the help pages on how to link between pages. I would urge you to search the help site and look through the examples built into the Mango UI.<br />
<a href="https://help.infiniteautomation.com/linking-between-pages" rel="nofollow ugc">https://help.infiniteautomation.com/linking-between-pages</a></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jf89">@<bdi>jf89</bdi></a> said in <a href="/post/23188">Difficulty handling simple objects, not described in the videos.</a>:</p>
<blockquote>
<p dir="auto">To be able to assign them coordinates, I am obliged to assign them a style like this:<br />
but, I can not change this button, directly from the Mango interface, I can do it only in edit mode.</p>
</blockquote>
<p dir="auto">I assume you mean that you cannot drag the buttons around the page using the "Dashboard designer" tool? You must create the page using "Dashboard designer" for this to work, specifically it inserts a top-level <code>div</code> element and every element inside this must have an <code>id</code> attribute.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jf89">@<bdi>jf89</bdi></a> said in <a href="/post/23188">Difficulty handling simple objects, not described in the videos.</a>:</p>
<blockquote>
<p dir="auto">you will agree, that if one does not master the HTML well, and the classes associated with the objects, .., It is still very difficult for a PLC programmer , to be able to use the buttons, to make links between synoptics, synoptics all at short.</p>
<p dir="auto">What should be done to make synoptics, as we usually do in Web server? (wago for example?)</p>
</blockquote>
<p dir="auto">Like everything, there is a learning curve. We strive to strike a balance between ease of use and flexibility. The difference with Mango is that we use open technologies such as HTML, Javascript, and CSS. The effort you put into learning these technologies will never be wasted, this knowledge can be applied in a myriad of places. Compare this to the vast majority of SCADA platforms that force you to learn some propriety page editing tool and arcane scripting language.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jf89">@<bdi>jf89</bdi></a> said in <a href="/post/23188">Difficulty handling simple objects, not described in the videos.</a>:</p>
<blockquote>
<p dir="auto">A tutorial like the one made for, Ma-set-point-value, my-switch, my-point-value, the watchlist, or excel reports to describe by the example my-button would be welcome.</p>
</blockquote>
<p dir="auto">There is documentation for these components available under the "API Documentation" section of the Mango menu. You may have to enable the menu item using the menu editor. This is described here - <a href="https://help.infiniteautomation.com/getting-started?rq=examples" rel="nofollow ugc">https://help.infiniteautomation.com/getting-started?rq=examples</a></p>
<p dir="auto">There is also an "Examples" section of the menu with a lot of example code in it.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jf89">@<bdi>jf89</bdi></a> said in <a href="/post/23188">Difficulty handling simple objects, not described in the videos.</a>:</p>
<blockquote>
<p dir="auto">To exploit the explanations ui-router site github, it takes a seasoned computer scientist who knows the HTML, JavaScript.</p>
</blockquote>
<p dir="auto">To create a simple link between pages you do not need to know the inner workings of ui-router. We link to their documentation so that people who need to do more advanced things are able to, again this is an open technology that we leverage.</p>
]]></description><link>https://forum.mango-os.com/post/23190</link><guid isPermaLink="true">https://forum.mango-os.com/post/23190</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Mon, 19 Aug 2019 15:48:47 GMT</pubDate></item></channel></rss>