• 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

    Excel Report E-Mail FTL Template

    User help
    3
    5
    2.0k
    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.
    • Xof1986X
      Xof1986
      last edited by

      Good Morning,

      I’m working on a template for monthly e-mail reports but the overrides folder doesn't seem to be functioning properly for this folder.

      I tried 2 different ways.

      I put my own ftl in “/opt/mango/overrides/web/modules/excelReports/web/ftl/myReport.ftl” but the template didn’t show up in the GUI.

      I then put my own in “/opt/mango/web/modules/excelReports/web/ftl/myReport.ftl” and it showed up and works great.

      I don’t want to lose mine on an update though so I went ahead and copied the default "reportEmailBody.ftl" as "myReport.ftl".
      I assumed at this point the "myReport.ftl" in the overrides folder should override the one in the original folder but it still sends out the report as if the overrides folder doesn't exist.

      Should the override folder path be different or a I doing something else wrong?

      Thanks!

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

        Hi Xof1986,

        Nope, you're not doing it wrong! There is an outstanding issue for the HTML reports module not having its templates persist between upgrades as well, and I have added the fact that Excel also does this to this issue: https://github.com/infiniteautomation/ma-core-public/issues/929

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

          Hi Xof1986,

          I decided to knock that issue down by adding the expected overrides/web/modules/.../web/ftl to the appropriate loading path, so you will be able to use the overrides directory for this purpose in the next release of those two modules, which should be next week.

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

            Hi.

            Sorry to drag up this old topic, but I had something very similar happen to me last week and this was the most relevant topic that came up in search.

            When I upgraded to 3.6.0 last week, all of my email template ftl's for my excel reports disappeared causing the reports to stop working.

            What is the correct directory to store these templates in so they don't get removed between updates?

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

              Hi fishfacs, no problem at all!

              You can use

              Mango/overrides/web/modules/excelReports/web/ftl/
              

              which will persist upgrades.

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