Hello,
When creating a node using the CreateObjectEx method should I be able to specify the extendedData also?
I’m using the code below, the node is created successfully but the extendedData is always null
Thanks
When creating a node using the CreateObjectEx method should I be able to specify the extendedData also?
I’m using the code below, the node is created successfully but the extendedData is always null
Code:
LLValue extData = new LLValue().setAssoc();
LLValue createInfo = (new LLValue()).setAssocNotSet();
objectInfo = new LLValue().setAssoc();
versionInfo = new LLValue().setAssoc();
//Add data to extended data assoc
extData .add("extendedDataTest", "test 123");
//Add extended data assoc to the creatInfo assoc
createInfo.add("extendedData", extData);
//Create the node
int res =docs.CreateObjectEx(parentVolID, folderID, docs.OBJECTTYPE,docs.DOCUMENTSUBTYPE, "test", createInfo, objectInfo);
//Create a version
int r=docs.CreateVersion(parentVolID, nodeID, document, versionInfo);