Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello,
I'm doing a small package that acts of content via a custom api and I wanted to add the operations to the audit trail.
How can I do it? Cannot find any docs about this. Thx
From withing a UmbracoAuthorizedApiController:
UmbracoAuthorizedApiController
Services.AuditService.Add(AuditType.Custom, "MyComment", Security.GetUserId(), request.ContentId);
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
How to write to the audit trail log
Hello,
I'm doing a small package that acts of content via a custom api and I wanted to add the operations to the audit trail.
How can I do it? Cannot find any docs about this. Thx
From withing a
UmbracoAuthorizedApiController
:is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.