11-24-2019 11:08 AM
With JSF UI, adding custom fields was very easy because a group layout existed ready to be overridden and customized.
However with Web UI, the group fields are all hardcoded in the nuxeo-group-management
elements and its children.
Is there a new proper way to add custom fields to groups without forking the whole Web UI project?
Thanks.
11-27-2019 03:37 AM
Hello,
The best option is to create a schema which extends the default group schema, and then override the corresponding group related elements in order to add those new properties (in view and edit layout). You don't need to fork Web UI anyway: you can simply create the same file in Studio Designer, in the same folder location (create missing folders if needed) or make a slot contribution in your bundle file.
Regards
11-27-2019 03:44 AM
That's what I wanted to do, except the elements I need to override are in the nuxeo-app.html file which is 80000 lines long. Is there a way to override only one element in this file without copying it entirely?
11-27-2019 03:46 AM
Ups...Then I don't have other option for the moment. I will report this issue to the Product team. Thx
11-27-2019 03:54 AM
It's actually a recurring issue to not be able to override a single element in Web UI. Everything is bundled in nuxeo-app.html and elements.html wich are 80k and 60k LOC each.
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.