It is possible to tie the validation of a document to editor actions via the
validateBefore
property defined in studio.properties
. This property
is to configure Studio to prevent certain activity on
content items when they still contain errors. More specifically, you can specify that either
checking in content or approving (and thus publishing) content will be not allowed in the
presence of content errors. Setting the value of the validateBefore
property to
"CHECKIN" entails the check of both Checkin
and Approve actions. Currently, the only supported
options are "CHECKIN" or "APPROVE". Leaving the property value empty means that no such checks
are imposed, and editors are allowed to check in, approve and publish even when content errors
are detected.