Dashboards input "ma-set-point-value"
-
How can I remove the set button from the "ma-set-point-value"? The input is great and work with tab or enter on pages but the button takes up too much space. or is there another input to use that has just the input box and no button?
<md-card-content> <!-- Display Order Quantity using only its XID -->
<ma-get-point-value point-xid="DP_880176" point="myPoint2"></ma-get-point-value><p>"{{myPoint2.name}}" </p> <ma-set-point-value point="myPoint2"></ma-set-point-value> </md-card-content>
"WorkOrder#"
CWO20160614-1-37 SET
-
Hi Larry,
Add a CSS style to hide the button like so
<ma-set-point-value point="myPoint" class="hide-button"></ma-set-point-value> <style> .ma-set-point-value.hide-button .md-button { display: none; } </style>
Note that you will not be able to change the value of multistate and binary points without the button. I have added a couple of attributes for the next release to make hiding the button easier and to enable setting the point value when the drop-down changes.
-
Jared, Thanks so much, Works well and allows user to tab / enter through the pages.
Larry
-
How can i display a data point value like the above example in html i want something like
Temperature
here must be a value
<p>Temperature</p>
{{temperature.value}} -
@Nomathamsanqa-Philiso That's a pretty basic question so I think you should start with getting a good understanding of how it all works. You can watch this video to start with and then be sure to read through all the examples and documentation included in the App. http://help.infiniteautomation.com/support/solutions/articles/14000041730-introduction-to-html5-web-apps
-
@JoelHaggar I do have my own html dashboard i created on my own but my problem is displaying the temperature of the device i am monitoring to my html page because i am new to mango i dont know how mango works all i want is to display this temperature on my html as a text value eg 27 if the temperature is 27 without the gauge chart
-
Hi Nomathamsanqa,
@Will-Geller put together a great introduction to the Custom Dashboards module, which you can find in our help pages: http://help.infiniteautomation.com/support/solutions/articles/14000038702-mango-dashboard-training
-
Thank you i got it working now i am trying to create snmp data points when i test the host by putting oid it gives an error message no response from host. i did ping the ip of my host device and its responding successfully also when i put my ip on ireasoning web browser its also responding
-
@phildunlap No this is not answering my question i already have mango installed all i wanted was to display on a numeric value on my own html dashboard i have created
<ma-get-point-value point-xid="DP_705360" point="water"></ma-get-point-value>
<ma-calc input="points | filter:{name:'Temperature' } | first" output="water"></ma-calc>
this what i have instead of displaying this like
<ma-gauge-chart point="water" start="0" band-1-end="10" band-1-color="red" band-2-end="20" band-2-color="green" band-3-end="25" band-3-color="red" style="width:70%; height:250px"></ma-gauge-chart> use this google chart i want to display just a single value like <p>{{water.value}} i want to know if this is acceptable in mango -
Hey Nomatham, I copied this from the Examples given on the Admin Dashboards page:
<!-- Display a point value using only its XID --> <p>The point value is <ma-point-value point-xid="DP_355369"></ma-point-value>.</p>
-
thank you i already got help with that but thank you anyway. I would appreciate if you can help with this major problem i am facing i need to set two different dashboard for two different customers using the same mango is it possible to do that
-
Yes. You can set a home page for each user on the users page, which is where they will be directed at login. You can use permissions groups to restrict access to pages and points, if necessary. These are also set on the Users page, but access controls are dispersed around, with core pages being governed by permissions on the System Settings page, data points have permissions which can be set individually in their editor or in bulk in the "Bulk Permissions" section of the Users page, and dashboard restrictions are in the permissions field of the page editor.