How can we override the existing deployer customiz

2019-08-25 13:21发布

While in process of customizing Deployer, I noticed that we have already customized PageDeploy and PageUndeploy modules, please see the below config sections taken from cd_deployer_conf.xml.

PageDeploy:

<Module Type="PageDeploy"
        Class="com.tridion.extensions.deployer.ConditionalPageDeploy">
   <Transformer Class="com.tridion.deployer.TCDLTransformer" />
</Module>

PageUndeploy:

<Module Type="PageUndeploy"
        Class="com.tridion.extensions.deployer.ConditionalPageUndeploy"/>

I just have their .jar file no code as this was done by SDL Tridion when they implemented Tridion in our company, now I want to implement one new process when page is published or unpublished.

What changes do I need to do so that without touching existing customization, I can implment the new customization. Is it permitiable or supported in Tridion?

1条回答
我只想做你的唯一
2楼-- · 2019-08-25 14:24

You might want to ask around in your department. Typically Tridion Professional Services will leave the code for any customization they make at the customer's site, specifically so that you can make changes to it afterwards.

Alternatively, you can create an additional Deploy/Undeploy module for your functionality. There can be multiple modules per type, so you can just add your own module to the list.

查看更多
登录 后发表回答