• 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

    Overrides for dashboard not updating

    Mango Automation general Discussion
    3
    5
    2.3k
    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.
    • V
      v8dave
      last edited by

      I've copied the dashboard files to overrides and done all the changes to it for my interface and I put the home.html into the following location but the webpage is not showing any changes I make to this file anymore. I've check for any errors but don't see any.

      /mango/overrides/web/modules/dashboards/web/mnt/views/dashboard/home.html

      mnt is my application name and the following is the URL I use to gain access to it

      www.mydomain.com:8080/modules/dashboards/web/mnt/#/dashboard/home

      I've stopped and restarted the server and still no changes are showing up.

      Any ideas what I missed?

      1 Reply Last reply Reply Quote 0
      • Will GellerW
        Will Geller
        last edited by

        I would try to see if it is a browser caching issue first. I wrote up the directions for doing a hard refresh here:

        http://infiniteautomation.com/forum/topic/2283/app-js-changes-not-updating/2

        I would recommend copying the adminTemplate which will give you a blank slate menu to customize. Directions are here:
        http://localhost:8080/modules/dashboards/web/mdAdmin/#/dashboard/examples/basics/create-dashboard
        http://localhost:8080/modules/dashboards/web/mdAdmin/#/dashboard/examples/templates/admin-template

        Note:
        You will then need to update the loader script at the bottom of the index.html file. Replace require(['dashboards/adminTemplate/app']); with require(['dashboards/mnt/app']);.

        Infinite Automation - UI Developer

        1 Reply Last reply Reply Quote 0
        • V
          v8dave
          last edited by

          Thanks, it was the browser cache. Once I cleared this it automatically updated and I can see the changes now.

          Not ideal for my client to have to do this but at least I know about it now.

          The path was already correct in the index.html file as the custom dashboard was working, just not showing any changes.

          1 Reply Last reply Reply Quote 0
          • Will GellerW
            Will Geller
            last edited by

            Usually it is not every single time you refresh the page. Often it is just the first time after a file is edited. Then it will only be a regular refresh while developing.

            Infinite Automation - UI Developer

            1 Reply Last reply Reply Quote 0
            • JoelHaggarJ
              JoelHaggar
              last edited by

              We are working on a new feature to have the browser refresh content when needed so that users never have to clear cache. This should be out in the next release in the next month or so.

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