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.
Making a module for alternative url path other than UI
-
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
-
Bump
-
This post is deleted! -
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:
-
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
-
@terrypacker Fantastic, thanks Terry!
Looks like I'm on the right track!
Thanks I'll give it a go!Fox