How to provide feedback about cancelled publish event
If you subscribe to the Document.BeforePublish event, you can cancel the publish action by setting cancel to true on the NewEventArg parameter. In the back office where a user is trying to publish the content it pops up a little ballon in the bottom right corner that says:
Error
Publising was cancelled by a 3rd party addin
Is there a way provide a message to the user so they know why the publish was cacelled?
How to provide feedback about cancelled publish event
If you subscribe to the Document.BeforePublish event, you can cancel the publish action by setting cancel to true on the NewEventArg parameter. In the back office where a user is trying to publish the content it pops up a little ballon in the bottom right corner that says:
Error
Publising was cancelled by a 3rd party addin
Is there a way provide a message to the user so they know why the publish was cacelled?
Hi,
Unfortunately, I don't believe there is currently any way to use a custom message. I do know a lot of people have requested it though. Please see & vote up this work item: http://umbraco.codeplex.com/workitem/21309?ProjectName=umbraco
-Tom
Bummer. I thought that might be the case.
is working on a reply...