nliebmann
-
4/16/2009 9:16:31 AM
Setting DocumentPublishTo
hi,
I'm trying to set the DocumentPublishTo and DocumentPublishFrom to calculated dates, when a new menu item (page) is being programmatically added to a node via the TreeNode api.
I see the the properties for from and to are read only ,as there is only a get and no set, yet this is accessible via the CMS desk.
I can achieve this with an ugly hack of directly accessing columns in the CMS_Document table, but want to know if there is a way through the treenode api, as i cannot find anything in the documentation.
thanks
|