Forums / Developer / Content object validation on publish
Piotr Switkowski
Saturday 23 December 2006 2:59:03 pm
HelloI need to run my own code to validate content object when it is published. I do it as event code. When content object is not correct I reject workflow in my code. This however displays only the text "Content publish cancelled" and I cannot present the error code. How can I display error message? Or display own template? Or even better, direct user back to edit screen?
Please help
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0001 secs