Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • vaibhav 119 posts 139 karma points
    Jun 24, 2011 @ 12:45
    vaibhav
    0

    How to erite comments in Audit trail?

    Hello,

    I want to trite the comments in the audit trail .....

    how to write this ?

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Jun 24, 2011 @ 14:16
    Tom Fulton
    0

    Hi,

    The Audit Trail simply reads items from the umbracoLog table with a nodeId matching the one you are viewing.  So if you add entries to the log table with a nodeId it should show up in the trail.

    You can add to the log using:

    umbraco.BusinessLogic.Log.Add(umbraco.BusinessLogic.LogTypes.Custom, yourNodeId, "Your log entry...");

    -Tom

     

Please Sign in or register to post replies

Write your reply to:

Draft