• 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

    Error Page

    How-To
    3
    11
    2.6k
    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.
    • Jared WiltshireJ
      Jared Wiltshire
      last edited by Jared Wiltshire

      /web/exception/404.jsp

      Put a copy in overrides and edit it there otherwise your changes will be lost when you update Mango.

      Developer at Radix IoT

      1 Reply Last reply Reply Quote 1
      • phildunlapP
        phildunlap
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • G
          georgestefan
          last edited by

          Thanks for answer

          1 Reply Last reply Reply Quote 0
          • G
            georgestefan
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • G
              georgestefan
              last edited by

              @jared-wiltshire Hello Jared, when I opened this topic it was for a Mango version 2.8 and it worked. Now I tried to do the same thing on a V3 Mango, I copied in overrides in /web/exceptions/404.jsp that I modified but when someone mistype the address it goes to the original "Page Not Found".

              Can you tell me how to make so when someone mistype the address it goes to the page that I customized?

              Thanks!

              Jared WiltshireJ 1 Reply Last reply Reply Quote 0
              • Jared WiltshireJ
                Jared Wiltshire @georgestefan
                last edited by Jared Wiltshire

                @georgestefan Are you talking about the page in the new UI which looks like this?

                0_1525811336850_400b0480-85db-4334-9f62-6453bcfc76f3-image.png

                Its not really possible to change it, I can look at making it possible for the next release.

                Developer at Radix IoT

                1 Reply Last reply Reply Quote 0
                • Jared WiltshireJ
                  Jared Wiltshire
                  last edited by

                  Spoke to soon, you can do it with a user module - https://help.infiniteautomation.com/getting-started-with-a-user-module/

                  define(['angular', 'require'], function(angular, require) {
                  'use strict';
                  
                  var userModule = angular.module('userModule', ['maUiApp']);
                  
                  userModule.run(['$state', ($state) => {
                      const state = $state.get('ui.notFound');
                      state.template = `
                  <h1>Sorry we can't find your page</h1>
                  
                  <ma-state-params state-params="stateParams"></ma-state-params>
                  <p>The path {{stateParams.path}} was not found</p>
                  `;
                  
                  }]);
                  
                  return userModule;
                  
                  }); // define
                  
                  

                  Developer at Radix IoT

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    georgestefan @Jared Wiltshire
                    last edited by

                    @jared-wiltshire I have already a page created, it is a way to redirect to that page?

                    1 Reply Last reply Reply Quote 0
                    • Jared WiltshireJ
                      Jared Wiltshire
                      last edited by

                      Actually I totally forgot about this setting -
                      0_1525970230431_07f93989-4856-464a-bd74-01e96257231d-image.png

                      Developer at Radix IoT

                      G 1 Reply Last reply Reply Quote 1
                      • G
                        georgestefan @Jared Wiltshire
                        last edited by

                        @jared-wiltshire Thank you, it is working now!

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