Hi,
We are using SDK Java 1.1 for uploading a document,
1. ws.createDocumentSimple(docPath, stream) : To upload a document,
2. ws.setPropertyGroupPropertiesSimple : To set properties for that document,
Is it possible to achieve this using a single call
We are using SDK Java 1.1 for uploading a document,
Code: Select all
Here there are 2 calls made to OpenKM,OKMWebservices ws= OKMWebservicesFactory.newInstance(host, user, password);
Document doc=ws.createDocumentSimple(docPath, stream);
ws.setPropertyGroupPropertiesSimple(doc.getUuid(),PROPERTY_NAME, properties);
1. ws.createDocumentSimple(docPath, stream) : To upload a document,
2. ws.setPropertyGroupPropertiesSimple : To set properties for that document,
Is it possible to achieve this using a single call