Copied to clipboard

Flag this post as spam?

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

  • Carl 58 posts 80 karma points
    Jan 17, 2011 @ 12:43

    Undelete documents using the API



    Has anyone got any info on how to undelete items from the umbraco recycle bin using the API?

    I know when documents are deleted they are set to trashed with a parent node of -20 (the recycle bin) but does it record where it was deleted from anywhere and how can I go about undeleting it with the API?



  • Sebastiaan Janssen 3891 posts 9826 karma points admin mvp hq
    Jan 17, 2011 @ 12:59
    Sebastiaan Janssen

    Unfortunately, the path is lost when a node is deleted, so it's not possible to know where to move the record to if you decide to undelete it. 

Please Sign in or register to post replies

Write your reply to:

Draft is the community mothership for Umbraco, the open source cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community. This site is running Umbraco version 7.3.1