09-20-2013 02:06 PM
In nuxeo automation, I don't see a way using the api to get, from a Document published in a section (this document is a Proxy document) how to get the identifier of the associated document stored in the workspace.
Any idea to solve this problem
09-20-2013 02:27 PM
doc.getVersionSeriesId()
should give you that.
09-21-2013 09:26 AM
Thank you for your interest to my question and your answer.
09-22-2013 09:04 AM
Please, will the future GetLiveDocument operation available in "content automation" 5.7.1 be the solution to get the real document from a proxy document ?
09-23-2013 12:23 PM
Yes GetLiveDocument
will do that for you.
10-24-2013 07:07 AM
You can try to use getSourceDocument
:
coreSession.getSourceDocument(proxyDocument.getRef());
This way you get the original document. Once you achieve that, you can retrieve its identifier.
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.