• 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

    Making a module for alternative url path other than UI

    User help
    2
    6
    907
    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.
    • MattFoxM
      MattFox
      last edited by MattFox

      Hi guys, want to be able run a status module separate from the /ui path, but as an independent web ui module. Is it possible to have something work independently instead of using the mangoUI frontend??

      Fox

      Do not follow where the path may lead; go instead where there is no path.
      And leave a trail - Muriel Strode

      MattFoxM 1 Reply Last reply Reply Quote 0
      • MattFoxM
        MattFox @MattFox
        last edited by

        Bump

        Do not follow where the path may lead; go instead where there is no path.
        And leave a trail - Muriel Strode

        terrypackerT 1 Reply Last reply Reply Quote 0
        • terrypackerT
          terrypacker @MattFox
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • terrypackerT
            terrypacker
            last edited by

            Sorry, I posted something else here so I should probably try to answer your question out of curtesy. I tried to ask some developers about this but didn't get any answers. My guess is that yes it can be done but you would need to add some backend code to hook into the Spring Web context and serve up your resources. You basically would need to map your URL to a controller that serves the resources.

            This is how the UI module does it:

            https://github.com/MangoAutomation/ma-dashboards/blob/main/UI/src/com/infiniteautomation/mango/webapp/UIForwardingFilter.java

            1 Reply Last reply Reply Quote 0
            • terrypackerT
              terrypacker
              last edited by

              So if you are writing your own module you could then reconfigure all the default URLs too so on login you get pointed to your pages, that is done with a DefaultPagesDefinition

              https://github.com/MangoAutomation/ma-dashboards/blob/main/UI/src/com/infiniteautomation/ui/UIDefaultPagesDefinition.java

              MattFoxM 1 Reply Last reply Reply Quote 0
              • MattFoxM
                MattFox @terrypacker
                last edited by MattFox

                @terrypacker Fantastic, thanks Terry!
                Looks like I'm on the right track!
                Thanks I'll give it a go!

                Fox

                Do not follow where the path may lead; go instead where there is no path.
                And leave a trail - Muriel Strode

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