Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Khai 71 posts 161 karma points
    Apr 11, 2013 @ 16:12
    Khai
    0

    Document event handling not working after contentservice.saveandpublish

    So I have a document event handler: Document_BeforeSave, I want to trigger the event whenever I update a document in code.

    So at one page i have this:

    ContentService.SaveAndPublish(Item);

    But it doesn't trigger the event. Whenever I save and publish in the backoffice, it triggers though. SaveAndPublish has a third parameter to trigger events and it's default is on True so I don't know what the problem is. Has anyone else encountered this problem?

Please Sign in or register to post replies

Write your reply to:

Draft