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 403 posts 1520 karma points
    Aug 30, 2019 @ 09:57
    Paul de Quant
    0

    Custom AuditTypes

    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 792 posts 2970 karma points MVP 3x c-trib
    Sep 01, 2019 @ 20:00
    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