在 SDL Tridion 2011 发布期间提升“警告"状态 [英] Raising a “warning” status during SDL Tridion 2011 publishing

查看:31
本文介绍了在 SDL Tridion 2011 发布期间提升“警告"状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们希望实现一些功能,以便在发布或解决期间由于某种原因发生错误时,我们使用 try/catch 块跳过它,但仍希望通知用户某些内容已被跳过.

We would like to implement some functionality so that when for some reason an error occurs during publishing or resolving, and we skip over it using a try/catch block, but would still like to notify the user that something was skipped.

SDL Tridion 2011 发布队列可以按状态过滤.这些状态之一是警告".是否可以使用模板代码或自定义解析器中的 API 触发发布事务以具有警告"状态?

The SDL Tridion 2011 Publishing Queue can filter by status. One of these statuses is "Warning". Is it possible to trigger a publish transaction to have a "Warning" status using the API in either template code or a custom resolver?

推荐答案

恐怕这是不可能的,但上面的答案可能会帮助您找到替代解决方案.

I'm afraid this isn't possible, but the answers above might help you find an alternative solution to this.

这篇关于在 SDL Tridion 2011 发布期间提升“警告"状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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