Copied to clipboard

Flag this post as spam?

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


  • Chris Hamer 3 posts 53 karma points
    Jul 12, 2012 @ 22:05
    Chris Hamer
    0

    Refresh Action for Custom Tree Node

    Hello Everyone,

    I currently have custom nodes fully setup to render all event items and custom pages for creating and updating these items. The problem that I am having is that I cannot
    get the content tree to refresh in the left-hand nav upon updating/deleting an item. I tried using:


    BasePage.Current.ClientTools.ReloadActionNode(false, true);

    AND

    BasePage.Current.ClientTools.SyncTree(path, true);


    in the code-behind, but receive the same server error each time.


    "Object reference not set to an instance of an object."


    I believe that this issue is that the command is unable to find a path for the current node and I noticed that there is no entry for this content in the
    UmbracoNode table in the Umbraco database, but the app exists in the UmbracoAppTree table. I guess my first question is does there need to be an
    entry for each a App in the umbracoNode table, and if so is this done programmatically or manually? If not, any ideas how to work around this issue?


    Thanks in advance for the help

Please Sign in or register to post replies

Write your reply to:

Draft