Sitecore 8:修补代理 [英] Sitecore 8:Patching an agent

查看:73
本文介绍了Sitecore 8:修补代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在其他环境中修补代理,因此我创建了如下修补程序:

I need to patch agent in other environment so I have created a patch as below:

 <agent type="Sitecore.Tasks.PublishAgent">
  <patch:attribute name="interval" value="01:00:00" />
  <param desc="mode (full or smart or incremental)">smart</param>
  <param desc="languages">en</param>
</agent>

这里我使用< patch:attribute name = interval来修补属性value = 01:00:00 />

但是我该如何修补参数?又如何测试相同参数? ?

But how can I patch a param?.Also how can I test the same?

谢谢

推荐答案

您可以完全按照发布的内容进行补丁,即,如果参数与现有的同名参数匹配,则它将覆盖它。

You can patch exactly as you have posted, i.e. if the param matches an existing param of the same name then it will overwrite it. There is no need for any additional patch: attributes.

您可以从 http://< mysite> / sitecore /查看最终配置admin / showconfig.aspx

这篇关于Sitecore 8:修补代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆