08-20-2018 10:52 AM
There is a Relations tab in the JSF UI that allows defining relations between two documents of the repository. It is not yet ported in Web UI, will it be for LTS 2018?
08-20-2018 12:09 PM
Relation feature will be revisited on the LTS 2019 cycle, thus there will be no work done on Web UI in LTS 2018 on this topic Nevertheless, the relation engine is still in the product and is maintained and there is already a set of operations that can be used to achieve the purpose in a custom manner. It is a small development.
Operations to manage relations are:
Create: https://nuxeo.github.io/api-playground/#/commands/Document.AddRelation
/>
Get: https://nuxeo.github.io/api-playground/#/commands/Document.GetLinkedDocuments
/>
Delete: https://nuxeo.github.io/api-playground/#/commands/Document.DeleteRelation
Also, in JSF, the predicates are managed via a directory, but this is purely for some UI reasons, there is no need of such UI, you can set a string as predicate directly in the operation when setting it.
Finally, you may prefer to use a document reference straight into your data model (a property of type "Document" defined in Studio instead of using the relation service.
Pros of the relation service:
Cons:
For the LTS 2019 cycle, we will probably re-add the relation feature in Web UI, but very likely in a simplified manner, just with the "this document is linked with " predicate.
08-20-2018 12:09 PM
Relation feature will be revisited on the LTS 2019 cycle, thus there will be no work done on Web UI in LTS 2018 on this topic Nevertheless, the relation engine is still in the product and is maintained and there is already a set of operations that can be used to achieve the purpose in a custom manner. It is a small development.
Operations to manage relations are:
Create: https://nuxeo.github.io/api-playground/#/commands/Document.AddRelation
/>
Get: https://nuxeo.github.io/api-playground/#/commands/Document.GetLinkedDocuments
/>
Delete: https://nuxeo.github.io/api-playground/#/commands/Document.DeleteRelation
Also, in JSF, the predicates are managed via a directory, but this is purely for some UI reasons, there is no need of such UI, you can set a string as predicate directly in the operation when setting it.
Finally, you may prefer to use a document reference straight into your data model (a property of type "Document" defined in Studio instead of using the relation service.
Pros of the relation service:
Cons:
For the LTS 2019 cycle, we will probably re-add the relation feature in Web UI, but very likely in a simplified manner, just with the "this document is linked with " predicate.
08-20-2018 12:30 PM
See also the university video: https://university.nuxeo.com/learn/course/internal/view/elearning/148/expert-session-creating-nuxeo-...
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.