• 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

    Is there a way to track which user changed the setting of a Point?

    User help
    3
    7
    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.
    • B
      Balistar
      last edited by

      I used to see which user changed a point setting in Annotation, but not any more. (but perhaps that was on another installation). And would there be a way to pull that data through the API?

      Thanks

      core 2.8.4 build 532

      1 Reply Last reply Reply Quote 0
      • B
        Balistar
        last edited by Balistar

        I upgraded from 2.8 to 3.2 and to my pleasure the annotation of a point started showing again:

        Value Time Annotation
        0 13:23:18 Set from web by user: admin
        1 10:40:50 User: admin
        0 Oct 06 17:54 Set from web by user: Chatrin
        1 Oct 06 09:18 Set from web by user: Chatrin
        0 Oct 05 15:09 Set from web by user: Chatrin
        1 Oct 04 13:06 Set from web by user: admin
        0 Oct 03 16:52 Set from web by user: Chatrin
        1 Oct 03 14:43 Set from web by user: admin
        0 Oct 02 09:36
        1 Oct 02 09:31

        Yes, I upgraded on Oct 2nd.

        This leaves me even more eager to to get Annotation through the API. Any suggestion on how to do that in an official "Mango Way"?

        REgards, G

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

          Hi Balistar,

          I'm a little surprised at the question: annotations are returned with point values through the /rest/v1/point-values

          Are you talking about the angular directives? Is there a specific directive?

          1 Reply Last reply Reply Quote 0
          • B
            Balistar
            last edited by

            Hi Phil, I know I can get it by writing a .js to get annotation from the json array that is returned with a REST API GET.

            function(data) { return data.annotation; }
            

            But I was hoping that something like

            {{myPoint.annotation }}
            

            would be available.

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

              @balistar Annotations are a property of point values, not points. You can display an annotatation for a point value using notation like {{ pointValues[0].annotation }} (where pointValues is an array). You will not get annotations when you use rollups.

              Developer at Radix IoT

              1 Reply Last reply Reply Quote 0
              • B
                Balistar
                last edited by

                Thanks Jared. Works perfectly. Now it seems that only some data point values automatically record in annotation the user who set the point e.g.

                Oct 11 17:24 Set from web by user: Chatrin .

                Most data points value do not record the user name who set the point. I can't find a setting in edit Point details or Point Source regarding this. Mango must somehow make a data point value record the point change annotation or not.

                Any suggestions?

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

                  @Balistar I'm not really following.

                  Point values which are recorded from a remote device e.g. polling a modbus slave will not contain an annotation. Setting a point's value via the UI should record an annotation.

                  Developer at Radix IoT

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