Best way to Implement page access log

I have a requirement to log user activity on a page on page load. What would be the best way to do so. As we don't have any feature to invoke smart services on page load, not sure how to do that.

  Discussion posts and replies are publicly visible

Parents
  • Hi,
    I understand, sometimes in highly regulated environments there is the policy to even capture if a user has only looked at a page.
    In my opinion, the best way to do this is to populate a local variable (which is not used further more in the User Interface).

    local!activity: a!startProcessModel (userID: , UserInterfaceName) as parameters. This process model writes into a database table for audit purposes.

    If you have further needs, after the user submits the User Interface, in the process model you can write the content of changed CDTs to an audit table. 

    I hope this gives some ideas.

Reply
  • Hi,
    I understand, sometimes in highly regulated environments there is the policy to even capture if a user has only looked at a page.
    In my opinion, the best way to do this is to populate a local variable (which is not used further more in the User Interface).

    local!activity: a!startProcessModel (userID: , UserInterfaceName) as parameters. This process model writes into a database table for audit purposes.

    If you have further needs, after the user submits the User Interface, in the process model you can write the content of changed CDTs to an audit table. 

    I hope this gives some ideas.

Children