Skip to main content
Left closed in review as "Original close reason(s) were not resolved" by Nikhil Kulkarni, Richard Seal
Left closed in review as "Original close reason(s) were not resolved" by Richard Seal
Left closed in review as "Original close reason(s) were not resolved" by Marcel Gruber, Raman Gupta, Nikhil Kulkarni
Added reasons on why and what needs to be validated for the item.
Added to review
Source Link
D J
  • 395
  • 3
  • 11

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 ?

Is there any way to validate all validation rules for all fields for an item programmatically ?

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 ?

Post Closed as "Needs details or clarity" by Raman Gupta, Sumit Helaiya, Marcel Gruber, Dean OBrien, Richard Seal
Source Link
D J
  • 395
  • 3
  • 11

How to validate all validation rules for a Sitecore item programmatically

Is there any way to validate all validation rules for all fields for an item programmatically ?