We have two folders: Folder A and Folder B.
Folder A has a category (attributes) applied at the folder level, so all documents in this folder requires to have the mandatory attribute values filled.
Folder B has different category ( different set of attributes) applied at the folder level, all documents in this folder also requries to have all mandatory attribute values filled.
we would like to using Content Service WebService (CWS) to move the doc from Folder A to Folder B, and set the metadata values (Category Attribute values) that are required by Folder B properly, and most importantly, must preserve the ObjectID (that is ObjectID must not change).
I have currently, use the DocmentManagenet Webservice, retrieved the node information from Folder A (file name, category attribute values, etc,. that is associated with the file to be moved), When I try to call DocumentManagementClient.Move( ) API, it does not allow me to set any metadata for the target folder. the signature of the Move is:
public void MoveNode(ref EDRMS_CWS_Test.CWS_DocumentManagement.OTAuthentication OTAuthentication, long ID, long parentID, string newName, EDRMS_CWS_Test.CWS_DocumentManagement.MoveOptions moveOptions) .
Can someone provide me with the guidance that if I am on the right track? Does Content Server CWS has that capability to achieve what I want to do?
Thanks in advance.
Derek