01-10-2018 05:45 AM
Hi people :) I need to override the lifecycle of the Template document.I read in Nuxeo documentation and it doesn't include Template in by default documents. Is there a way i can do this?
01-10-2018 11:04 AM
Hi,
in nuxeo-template-rendering addon you can find the document types definition for Templates:
<doctype name="TemplateSource" extends="Document">
...
<doctype name="TemplateBasedFile" extends="File">
...
The current lifecycle contribution for the document types is:
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
<type name="TemplateSource">default</type>
<type name="TemplateBasedFile">default</type>
</types>
</extension>
You could change the lifecycle with a new override contribution for them.
Hope it helps.
Regards, VS!
01-10-2018 11:06 AM
thanks man
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.