As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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?
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!
thanks man