Audit trail recording object read/retrieve possible?

Hi all, We have a customer requirement for an audit trail that records the reading/retrieval of an object. In other words, they want to see who has accessed which information. Is that possible? If yes, how do I go about it? Kind regards, Jonathan van Alteren - FlowFabric
2 answers

A profiler hook was implemented in 2.5.3 that allows you to monitor requests. Although this system was setup for profiling for performance, you could also use it to distill some info on what types of data people are reading or writing.

There are four hooks at the moment, two for enter/exit runtime (which also provides the JSON request, ie xpath etc) and two for enter/exit database (which record the actual sql commands)

To use the profiling mechanism, you need to implement a class that implements the com.mendix.systemwideinterfaces.core.IProfiler interface, and then register it via

com.mendix.core.Core.registerProfiler(IProfiler profiler)

Custom Edit button that writes an audit record as it opens a row?