09-22-2017 05:28 AM
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?
09-22-2017 05:33 AM
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.
09-22-2017 05:33 AM
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.
09-22-2017 05:40 AM
Thank you Thomas
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.