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
hi guys and gals,
i need to know who edited the content in the ContentService.Saving event but it's always got the id of the previous person who made the edit in the WriterId property of the SaveEventArgs content.
is this a bug?
thanks, Simon
Hi Simon,
How are you picking up WriterID. Can you share the code please?
Cheers,
Shaishav
hi Shaishav, here's how i get writer id:
private void ContentService_Saving(Umbraco.Core.Services.IContentService sender, Umbraco.Core.Events.SaveEventArgs<IContent> e) { foreach (var content in e.SavedEntities) { var writerId = content.WriterId; } }
thanks Si
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
writerId is the id of the previous person who edited the content in ContentService.Saving event
hi guys and gals,
i need to know who edited the content in the ContentService.Saving event but it's always got the id of the previous person who made the edit in the WriterId property of the SaveEventArgs content.
is this a bug?
thanks, Simon
Hi Simon,
How are you picking up WriterID. Can you share the code please?
Cheers,
Shaishav
hi Shaishav, here's how i get writer id:
thanks Si
is working on a reply...