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);
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:
is working on a reply...