Hello Everyone,
We area having Content Server 10 environment. I am trying to write code for move node from one location to other using functionality from Content Server Web Services.
Destination location having one cateogory applied which I want to apply on the moved node and all its child nodes [Folders & documents]
I have written below code where Destination and Source both categories applied to moved node, But when I checked it only applies to parent node. Not of any child node having destination category value applied.
public bool MoveNode( int iNodeID, int iParentID, string sName, bool bInheritPerms = false )
{
try
{
MoveOptions oMoveOpts = new MoveOptions ();
oMoveOpts.ForceInheritPermissions = bInheritPerms;
oMoveOpts.AttrSourceType = AttributeSourceType .MERGE;
_oDocMan.MoveNode( ref _oDMAuth, iNodeID, iParentID, sName, oMoveOpts);
return true ;
}
catch ( Exception ex)
{
return false ;
}
}
Can anyone advise where I am making mistake and any other resolution for the same?
Thanks
Aditi