Override Nuxeo elements

Hello community,

I want to have an idea about overriding nuxeo WebUi elements on Nuxeo Studio. Is there a simple way to override existing bottons (dom-modules) from RESOURCES tab in the design mode of nuxeo studio. I read documentation on https://doc.nuxeo.com/nxdoc/910/web-ui-deployment/ but I want to know if it is possible to do a more simple configuration.

Best Regards, Ahmed

0 votes

1 answers

1528 views

ANSWER



Hello Ahmed,

You have to create your custom bundle file with your own slot contribution, as what is doing Nuxeo Studio Designer.

Please read https://doc.nuxeo.com/nxdoc/web-ui-slots/ and follow https://university.nuxeo.com/learn/course/external/view/elearning/164/WebUICustomizationandNuxeoFrontendDevelopment course for more information.

So typically, if you need to change standard button, you can create your custom bundle file, copy paste the section which needs to be edited from https://github.com/nuxeo/nuxeo-web-ui/blob/10.10/elements/nuxeo-web-ui-bundle.html, and make the reference to your custom bundle to the main bundle file.

Have a great day

0 votes