This topic is locked
[SOLVED]

View record in Audit

12/2/2021 7:39:21 AM
PHPRunner General questions
J
JeffDeveloper author

A friend told me about this tip which I am trying to look for as I have lost that information.

As you know, PHPRunner has the built in audit function whereas you can see where the user has been. Right now you can see what the user deleted, created, updated and so on. Al this is recorded in the audit log.

For example, the user clicked on the magnifying glass to view a record. That action doesn't get recorded in the audit log and I know there is a code somewhere that you put in the event to log that action. So basically, I need to track that user's every single move from the time he / she logs into the database.

Much appreciated in advance.

admin 12/2/2021

You will need to log those actions like visiting a View page programmatically. For a View page the best event to do so is View page: BeforeProcess. To insert a new recod into audit log table you can use Database API.