How to set additional attributes (SystemAtt) when creating document ?
Metadata metadata = GetMetadataFoo();
In this case, the attributes are not set:
Node node = dm.CreateDocument( ref otAuth, 2000, "My Document", "A comment", false, metadata, makeAttachment( @c:\temp\file.doc );
using the UpdateNode method attributes are set correctly
node.Metadata = metadata;
dm.UpdateNode(ref otAuth, node);