• 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

    Public views

    User help
    4
    16
    7.4k
    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.
    • M
      minrig
      last edited by

      I'm having trouble getting access to the public views. I don't really know much about this stuff, and I can't seem to figure out what URL I should use to get where I need to be.

      Thanks,
      -Mike

      1 Reply Last reply Reply Quote 0
      • M
        mlohbihler
        last edited by

        Hi Mike,

        Start with the URL for any page that you can access in Mango, such as the login page. Replace the file name part (e.g. login.htm) with "public_view.htm". The "Remote views" section of help page describes the parameters that need to be sent to the public view page (i.e. viewId or viewName).

        Finally, when you edit the view you need to set the "Anonymous access" level to something other than "none". Note that when you are editing the view, the url in your browser will give you the correct viewId value.

        Best regards,
        Matthew

        1 Reply Last reply Reply Quote 0
        • M
          minrig
          last edited by

          Thanks, I'll give it a shot.

          1 Reply Last reply Reply Quote 0
          • M
            minrig
            last edited by

            No such luck. I seem to get an error in Tomcat which says "No mapping for [/public_view.htm] in DispacherServlet with name 'springDispacher' " and I get a "Page not found" in mango.

            -Mike

            1 Reply Last reply Reply Quote 0
            • M
              mlohbihler
              last edited by

              Sorry, i should have asked earlier: what version are you using? The Open version does not include public views. That functionality is only in the commercial version.

              Best regards,
              Matthew

              1 Reply Last reply Reply Quote 0
              • M
                minrig
                last edited by

                Aaahh... All is now clear. I'll have to buy the upgrade. Is the commercial version transferable? When I'm done playing with it on my laptop can I move it to my server?

                Thanks,
                -Mike

                1 Reply Last reply Reply Quote 0
                • M
                  minrig
                  last edited by

                  There also seems to be no indication of this function not being included in the open version.

                  1 Reply Last reply Reply Quote 0
                  • M
                    mlohbihler
                    last edited by

                    Yes, instances are transferable. And you are correct; we'll need to consider how to make it clearer that it is a commercial feature.

                    Best regards,
                    Matthew

                    1 Reply Last reply Reply Quote 0
                    • R
                      rcopeland
                      last edited by

                      Is this a function that is available with the free downloaded version? According to the license page on the Mango site, > The product formerly known as Commercial Mango is now the official (and only) Mango M2M.
                      I am asking this because I followed the steps (including changing the src=""), but the remote view I see is the Mango thermometer, not my custom view page.

                      1 Reply Last reply Reply Quote 0
                      • F
                        fmunhoz
                        last edited by

                        There is no longer a commercial version.

                        The current version is 1.12.0 and has all capabilities and features.

                        Look at the example at the bottom of the general help (welcome) page in your instance of Mango. It should help you.

                        BR

                        1 Reply Last reply Reply Quote 0
                        • R
                          rcopeland
                          last edited by

                          I feel that I have followed all of the required steps:
                          -Create graphical view
                          -Set anonymous access to "read"
                          -create an html file with the following code:```
                          <div style="position:relative;width:80px;height:150px">
                          <iframe frameBorder="0" style="position:absolute;width:450px;height:300px" scrolling="no" allowTransparency="true"
                          src="http://localhost:8080/public_view.html?viewXid=GV_630560"></iframe>
                          </div>

                          However I get the following error message:> Specified view was not found or is not anonymously viewable. Do you have the correct viewId, viewName, or viewXid parameter? 
                          Is there something else that I am missing?
                          
                          Thanks.
                          1 Reply Last reply Reply Quote 0
                          • M
                            mlohbihler
                            last edited by

                            Have you tried using the viewId or viewName parameters to see if it's a problem with the viewXid?

                            Best regards,
                            Matthew

                            1 Reply Last reply Reply Quote 0
                            • R
                              rcopeland
                              last edited by

                              I figured it out, the problem was with the "localhost". I changed it to my IP address and it works fine.

                              Not sure why the "localhost" was the problem, as the error message means that mango recieves the request for the public view and sends back the message (rather than a HTTP not found error or something like that).

                              1 Reply Last reply Reply Quote 0
                              • M
                                mlohbihler
                                last edited by

                                Another instance of Mango?

                                Best regards,
                                Matthew

                                1 Reply Last reply Reply Quote 0
                                • R
                                  rcopeland
                                  last edited by

                                  Nope, just 1.

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