Copied to clipboard

Flag this post as spam?

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


  • greengiant83 88 posts 109 karma points
    May 16, 2011 @ 22:10
    greengiant83
    0

    How to copy document and have its children remain published

    I have a node that I need to copy that has multiple levels of children.  These child nodes are published.  When I copy the parent node, I want the duplicated children to be published like the source items.  Is there a way to do this with the api, or should I loop over the children recursively and publish them individually?

     

    Here is how i am copying nodes:

    var documentToBeCopied = new Document(101);
    documentToBeCopied.Copy(DestinationNodeId, myUser);
Please Sign in or register to post replies

Write your reply to:

Draft