Is there any way to validate all validation rules for all fields for an item programmatically ?
We are trying to publish items programmatically, hence we would like to run all the validation rules applicable as per the item template to check, if the sitecore item has no validation errors. IS there anything available out of the sitecore to check this for an item ?
Sitecore.Data.Validators.ValidatorManager
class:GetGlobalValidatorsForItem()
,GetItemValidators()
, andValidate()