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


    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");



  • David Brendel 786 posts 2952 karma points MVP c-trib
    Sep 01, 2019 @ 20:00
    David Brendel


    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: