Hi
I'm trying to set keywords in document by c#, I'm sure that the path of document is correct, because i have one method in my class to check this. When i see document properties by navigator i can not see the keywords.... this is my code
OpenKm Version 5.1.11 snapshot build: 7903
Tomas Garijo
I'm trying to set keywords in document by c#, I'm sure that the path of document is correct, because i have one method in my class to check this. When i see document properties by navigator i can not see the keywords.... this is my code
OpenKm Version 5.1.11 snapshot build: 7903
Code: Select all
Regardspublic void serKeywordtoDocument(String okmPath, String type) {
OKMDocumentService okmDocument = new OKMDocumentService();
document doc = new document();
String[] keywords = {type};
doc.keywords = keywords;
doc.path = okmPath;
okmDocument.setProperties(_stoken, doc);
}
Tomas Garijo