Publish Node Programatically Options
victorkani
Posted: Friday, August 01, 2008 2:10:35 PM
Rank: Newbie

Joined: 5/15/2008
Posts: 15
I want .net code to publish the parentNode and all of it's child nodes,

d.Publish(u) and library.PublishSingleNode(d.Id) code publishes single node only.

Thanks in advance.
tim
Posted: Friday, August 01, 2008 2:25:29 PM

Rank: Addict

Joined: 2/19/2007
Posts: 766
Location: Belgium
something like foreach(document child in d.getchildren()) { child.publish }

Umbraco tips and tricks: http://www.nibble.be - umbraco mvp 08/09 - certified level 1 & 2 professional
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.