• 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 load the value of a data point in a variable Javascript

    Dashboard Designer & Custom AngularJS Pages
    2
    5
    3.0k
    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.
    • B
      birillo
      last edited by

      I state that I know a little but not javascript jsp or java . I would not want to complicate life too much ... And ' possible to somehow load the value of a data point in a variable to be manipulated in JavaScript on a page htm custom ? Thanks for your help.

      1 Reply Last reply Reply Quote 0
      • Woody BeverleyW
        Woody Beverley
        last edited by

        If you don't want to write code to use our API then the other way to accomplish getting a value to a webpage would be to create a Graphical View
        You can read about this in our wiki http://infiniteautomation.com/wiki/doku.php?id=graphics:mango_graphic_views:editing_graphical_views

        Once you have the graphical view working you could display that on your custom html page in an iframe. Here's a link explaining how to use iframes
        http://stackoverflow.com/questions/2979860/how-can-use-iframe-in-html

        -Woody

        -WoodyB

        1 Reply Last reply Reply Quote 0
        • B
          birillo
          last edited by

          Perhaps I did not explain , I need to have the value of a data point in a javascript variable so it can be manipulated at will ... sorry ignorance , you can get this with the API? if you can as you have to do? Tank you

          1 Reply Last reply Reply Quote 0
          • Woody BeverleyW
            Woody Beverley
            last edited by

            Sorry I didn't understand.

            OK I think this will help you.

            In Mango click on Custom Dashboards on the main icon menu at top of the page. Here you will see many examples. Here's a video as well

            By The Way - You can do a view source in your browser to see the html for these examples or goto <mango root dir>/web/modules/dashboards/web/private

            -WoodyB

            -WoodyB

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