Copied to clipboard

Flag this post as spam?

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


  • Paul de Quant 340 posts 1329 karma points
    25 days ago
    Paul de Quant
    0

    Hello,

    Does anyone know if you can create a new AuditType. I'm trying to log something to the audit trail, but the only option I have is custom and I have a few different types of custom to add.

    This is what I have so far:

    _auditService.Add(auditType, userId, pageId, ObjectTypes.GetName(UmbracoObjectTypes.Document), "Custom Txt");
    

    Thanks

    Paul

  • David Brendel 749 posts 2816 karma points c-trib
    23 days ago
    David Brendel
    0

    Hi

    as dar als I have seen the audit type is an enum when I remember correctly. So that can't bei extended.

    Regards David

Please Sign in or register to post replies

Write your reply to:

Draft