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 431 posts 984 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 434 posts 1279 karma points MVP 2x c-trib
    Dec 13, 2017 @ 20:51
    Damiaan
    1

    Have you tried this?

    UmbracoContext.Current.ContentCache
    
Please Sign in or register to post replies

Write your reply to:

Draft