Nuxeo Java client
Hello,I am trying to get the properties of a document using Nuxeo Java client.I am able to get the document,but when i use the methods get() or getPropertyValue() it doesn't return the value. Can someone help me?
0 votes
1 answers
1474 views
You need to configure the client to retrieve the required schemas/properties when fetching a document:
To retrieve the properties of the dublincore
and common
schemas:
nuxeoClient.schemas("dublincore", "common");
You could also configure the client to retrieve all the schemas/properties:
nuxeoClient.schemas("*");
See https://github.com/nuxeo/nuxeo-java-client#options for more information.