Copied to clipboard

Flag this post as spam?

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


  • David 29 posts 110 karma points
    Nov 25, 2014 @ 02:40
    David
    0

    Deleted Content Displaying when using CurrentPage.Descendants() in a Razor view

    Hi,

    I'm using CurrentPage.Descendants() on an index page to display a list of all nodes under the existing page

    The index page is displaying descendants nodes which have been deleted.

    Umbraco.config still contains the deleted content.  It appears Umbraco.config is not being updated on publish.

    Help appreciated.

    Thanks.

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Nov 25, 2014 @ 08:08
    Jan Skovgaard
    100

    Hi David

    Have you tried to go to the "Content" node and then right click and choose "Republish entire site"? This should update the XML cache so old deleted content is not displayed.

    If the issue remains after doing this you might need to check that your permissions on the disk where the Umbraco project is is setup correctly.

    Hope this helps.

    /Jan

  • David 29 posts 110 karma points
    Nov 25, 2014 @ 08:18
    David
    0

    YES! That did the trick.  Thank you!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Nov 25, 2014 @ 08:22
    Jan Skovgaard
    0

    Hi David

    Glad it worked - sometimes you need to do this manually so if it happens again try this trick :)

    Cheers, Jan

Please Sign in or register to post replies

Write your reply to:

Draft