Develop an event logger for audits

Develop a logger that records
The example application collects the following data about events of interest:
  • Event source (the project node on which the events are listened to)
  • ID of the user who generates an event
  • Date and time of the event
  • Changes in the attribute values (before and after the edit)
Example application
NOTE:
Download a sample project:
ExampleApplication-AuditDemoSingleTable.zip
Prerequisites
  1. To develop the project
  2. Add functionalities that generate events. For reference, see other sample projects.
    For example, add a login pane.
  3. Create and configure an event logger. See Add an event logger.
  4. Create the application interface and integrate it with your project. For reference, see the sample projects.
  5. Arrange the interface elements.
  6. Save the project.
Example application design
In
FactoryTalk Optix Studio
, select
Run
to run the project using the client emulator to test your project. To run the project on a remote client, see Add a client device.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.