Copied to clipboard

Flag this post as spam?

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


  • Steve Larsen 8 posts 28 karma points
    Aug 17, 2012 @ 02:38
    Steve Larsen
    0

    Document AfterPublish.. is there a AfterAfterPublish event?

    Hi, I need to do some processor intensive stuff after a publish, instead of hooking Document.AfterPublish() which calls for every document in the publish tree, I'd like to get a notification when all publishing has either finished or is about to begin. Is there any way to do this?

    Thank you!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Aug 17, 2012 @ 06:52
  • Steve Larsen 8 posts 28 karma points
    Aug 17, 2012 @ 16:47
    Steve Larsen
    0

    Thank you for the response however my question was how to get at an event that is not on the list.  I was hoping there was something undocumented.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Aug 17, 2012 @ 18:16
    Jan Skovgaard
    0

    Hi Steve

    Hmm, not that I know of - but perhaps some of the other wizards in here have some nice tricks up their sleeves.

    /Jan

  • Bo Damgaard Mortensen 719 posts 1207 karma points
    Aug 19, 2012 @ 19:30
    Bo Damgaard Mortensen
    0

    Hi Steve,

    I think the AfterPublish event is as far as it goes :-) What exactly are you trying to achieve?

    There's also an event for AfterUpdateDocumentCache - don't know if that sounds more appealing to you?

    - Bo

  • Steve Larsen 8 posts 28 karma points
    Aug 21, 2012 @ 17:28
    Steve Larsen
    0

    Thanks this will work.  AfterUpdateDocumentCache also gets called for every node in the tree, but only after all the BeginPublish/AfterPublish's have run their course,

    By setting a flag in the first AfterPublish and clearing it in the first AfterUpdate I am able to run my process once for each publish cycle.

Please Sign in or register to post replies

Write your reply to:

Draft