• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. marganellim

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

    marganellim

    @marganellim

    0
    Reputation
    6
    Profile views
    5
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    marganellim Unfollow Follow

    Latest posts made by marganellim

    • RE: Which Point Called Event Handler?

      @terrypacker
      Hi Terry, Thanks for the reply.
      I tried this in both a global script and event handler script. In both cases, model is undefined. See below. Sorry for the quality, fonts are looking janky.
      FYI. Running version 4.2.1
      Screenshot from 2021-10-27 16-11-33.png

      posted in Scripting general Discussion
      M
      marganellim
    • Which Point Called Event Handler?

      Hello,
      Sorry if this is a simple question but I cant seem to find the answer.
      I have 70 points that all have event detectors connected to a single event handler that sends emails.
      In addition to this email, I have a script that runs.
      Within that script, is it possible to get the point XID or event detector XID that originally fired off the event handler?

      Thanks

      posted in Scripting general Discussion
      M
      marganellim
    • RE: Writting to JSON store from a Global Script

      Hello
      I am getting an error with this script

      "com.serotonin.m2m2.rt.script.ScriptError: TypeError: dao.save is not a function at line: 49"
      

      dao is defined above as

      var dao = com.serotonin.m2m2.db.dao.JsonDataDao.instance;
      
      posted in How-To
      M
      marganellim
    • RE: Writting to JSON store from a Global Script

      Sorry, I did dig up this post but was confused by the data access object and serotonin stuff. I assumed this was some sort of special case.
      I will experiment with this more and in future be a bit more thorough in my searching.
      Thanks

      posted in How-To
      M
      marganellim
    • Writting to JSON store from a Global Script

      Hi everyone. New to Mango so bare with me.
      I'm trying to figure out how to write data to the JSON store from a global script.
      The intent is to pass some variables to a global script, have it massage that data and write some JSON to the JSON store.

      If someone could point me toward a document describing how to access the JSON store from a script. Thanks so much

      posted in How-To json scripting
      M
      marganellim