[background info]
Environment: Publication Manger Version 13.0.4630.2
I'm currently composing a Tridion Docs plugin to implement a feature which is able to:
- When user starts to publish, the plugin checks whether current baseline meet with our certain rule.
- If not, send a window message to user, notifying them to recheck manually. But the publish process shall go on.
[current situation]
I've successfully implemented intergrating our check rule into a XML-Write plugin.
I can only trigger a window by manually raising an Exception, to show some custom info message. e.g.
throw new Exception("MY CUSTOM PROMPTING MESSAGE");
┌---------------------------------------------------------------------------┐
| Publish |
├---------------------------------------------------------------------------┤
| The pulg-in "MYWRITEPLUGIN" returned the |
| ! following error: "MY CUSTOM PROMPTING |
| MESSAGE" |
└---------------------------------------------------------------------------┘
And the publishing action will stop immediately.
So is there any method to show custom message in the publication manager?