Copied to clipboard

Flag this post as spam?

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


  • John Bergman 483 posts 1132 karma points
    Dec 13, 2017 @ 19:52
    John Bergman
    0

    ContentService.Saved Event handler - how do you get UmbracoHelper?

    The event handler signature is

        private void NodeSavedHandler(IContentService sender, SaveEventArgs<IContent> args)
    

    How does one get to the UmbracoHelper from here? I need to access other content, and would preferred to use the cached versions.

    Anyone know?

  • Damiaan 442 posts 1302 karma points MVP 6x c-trib
    Dec 13, 2017 @ 20:51
    Damiaan
    1

    Have you tried this?

    UmbracoContext.Current.ContentCache
    
  • 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.

Please Sign in or register to post replies