cancel
Showing results for 
Search instead for 
Did you mean: 

Document relations in Web UI

Iker_Nicolas1
Champ in-the-making
Champ in-the-making

Hi,

I'm trying to create and show relations between different document types in nuxeo Web Ui(LTS 2019).

I have continued the steps of this video; https://university.nuxeo.com/learn/course/148/play/415/expert-session-creating-nuxeo-elements-with-n...

The creation and erase of the relations work well, but at the moment of loading the relations, I have to go into the document twice. At the first time the relations doesn't appear, they exists, but doesn't show anything, then if I go backwards and go into the document again or another of the same folder they appeared. I took a look to the console and i could see that the times it worked, the ready function(nuxeo-se-document-relations) had been called twice.

It's the same problem when clicking the link to the related document.

Anyone knows why this happens? Thanks for the help

4 REPLIES 4

iker_nicolas
Champ on-the-rise
Champ on-the-rise

I finally discover how to do it. Thank you.

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Yes it is possible, you would need to extend the relation document type object.

iker_nicolas
Champ on-the-rise
Champ on-the-rise

I mean, the quantity attribute doesn't exist in the document type. I have to insert the number at the moment of adding the relation, I have to define the type of relation, the type of outgoing, the document related and additionaly the quantity of this relation.

Getting started

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.