• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. contactsunny
    3. Topics

    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
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by contactsunny

    • C

      Purge point data on button click

      Scripting general Discussion
      • • • contactsunny
      3
      0
      Votes
      3
      Posts
      2.5k
      Views

      phildunlapP

      Hello!

      It looks to me like you might be looking for something like the function call in DataPointEditDwr.java @ line 131. That file can be found https://github.com/infiniteautomation/ma-core-public/blob/21b40809b07fac6c74aa3905a6124e880ea2073b/Core/src/com/serotonin/m2m2/web/dwr/DataPointEditDwr.java for the source code.

      The call that may help is,

      Common.runtimeManager.purgeDataPointValues(point.getId());

      Hope that helps! The alternative is probably to call DataPointEditDwr, and purge it through the tools already available. I have not tested these, yet, though, so let us know if it worked and how!

    • C

      SQL Data Source not listed

      How-To
      • • • contactsunny
      7
      0
      Votes
      7
      Posts
      4.1k
      Views

      E

      very nice post i like this forum