03-14-2014 03:08 AM
Hi,
I m trying to override the TemplateRoot type in order to allow Sections as subtypes.
I built a contribution thanks to Nuxeo explorer
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.types.override">
<require>org.nuxeo.ecm.platform.types</require>
<extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
<type id="TemplateRoot">
...
but it is not taken into account.
03-14-2014 07:29 AM
hello,
if your file is deployed in $NUXEO/nxserver/config, its name must end with -config.xml or -bundle.xml (nor -contrib.xml for instance) for your contribution to be loaded at startup.
Kind regards, Thierry
03-14-2014 04:24 AM
what makes you think it is not taken into account? Moreover you did not provide your complete contribution.
03-14-2014 04:41 AM
The contribution does not appear in the explorer,
03-14-2014 05:44 AM
I've tested this code and it works. How do you include it in your plugin?
03-14-2014 06:36 AM
from the templates/config directory
03-14-2014 06:40 AM
I can't find this directory "templates/config" on my instance. Is it the exact path? Moreover, if you want to deploy into nxserver/config, your file name must end with -config.xml or -bundle.xml
03-14-2014 07:29 AM
hello,
if your file is deployed in $NUXEO/nxserver/config, its name must end with -config.xml or -bundle.xml (nor -contrib.xml for instance) for your contribution to be loaded at startup.
Kind regards, Thierry
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.