KB-14006: Recording executed commands as alarms.

Question:

How can I record as alarms the commands executed by E3 users? For instance, when a user is logged onto the application and clicks the button for activating the engines, an alarm must be recorded with this information. 

Solution:

To do so, for each desired button/object, you must use the Alarm Server’s LogTrackingEvent method to record the inteded events.

Sample script to be used in a button’s Click event:

Application.GetObject(“AlarmServer1”).LogTrackingEvent “Clicked on Button 1”,Application.User, “Operation”, 2, ,”Button1″, , , array(1, 2, “a”, “b”)
Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *