Document relations in Web UI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2019 07:35 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2019 10:03 AM
I finally discover how to do it. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2019 10:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2019 10:41 AM
Yes it is possible, you would need to extend the relation document type object.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2019 02:17 AM
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.
