loading two different document-management.xml

Hi folks,

I want to know how we can load two different document-management.xml file in theme-contrib.xml. I want to load these two different files based on some condition. For example, if i click on a URL, a different document-management.xml(default) should be loaded and if i click on another URL, my customized document-management.xml should be loaded.


<extension target="org.nuxeo.theme.services.ThemeService"
    point="themes">
    <theme>
        <src>themes/custom-document-management.xml</src>
        <src>themes/default-document-management.xml</src>
    </theme>
</extension>

I dont know whether in nuxeo we can load two document-management.xml in same build. Please help me on this.

0 votes

0 answers

972 views

ANSWER