Hello,
As the standard return from findByQuery contains lots of things and metadata are missing, i see that we can implement and deploy a serverside plugin.
https://docs.openkm.com/kcenter/view/sd ... indByQuery
This plugin need to implements NodeProperties. I have found this example :
https://docs.openkm.com/kcenter/view/ok ... cts-).html
As this example is very basic and the javadoc https://docs.openkm.com/apidoc/pro/okm/7.1/7.1.25/ doesn't match the example, my questions are :
Is it possible to set the metadata in the Document sent by
and how can i set the openkm artifact in the pom.xml ? sdk4j works but doesn't contain the classes needed to create the plugin
As the standard return from findByQuery contains lots of things and metadata are missing, i see that we can implement and deploy a serverside plugin.
https://docs.openkm.com/kcenter/view/sd ... indByQuery
This plugin need to implements NodeProperties. I have found this example :
https://docs.openkm.com/kcenter/view/ok ... cts-).html
As this example is very basic and the javadoc https://docs.openkm.com/apidoc/pro/okm/7.1/7.1.25/ doesn't match the example, my questions are :
Is it possible to set the metadata in the Document sent by
Code: Select all
?@Override
public Document getProperties(String user, NodeDocument nDocument, String linkTarget) throws PathNotFoundException, DatabaseException, RepositoryException {
Document node = new Document();
node.setUuid(nDocument.getUuid());
node.setXXX(metadatas) ?
return node;
}
and how can i set the openkm artifact in the pom.xml ? sdk4j works but doesn't contain the classes needed to create the plugin
Code: Select all
thanks in advance <dependency>
<groupId>com.openkm</groupId>
<artifactId>openkm</artifactId>
<version>6.4.54</version>
</dependency>