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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...