Try our conversational search powered by Generative AI!

SaveAction.SkipValidation should skip AvailableContentTypes-check

Vote:
 

When using SaveAction.SkipValidation when saving/editing pages programmatically, you're basically saying "Out of the way rules, let me handle this!". It would be practical if this, in addition to skipping validation on properties, could skip validating what page types are allowed where too.

This would, for example, allow me to auto generate a content structure by nesting ListPages below each other (lets say in a month/year structure, department structure, category structure, whatever), while only allowing editors to create ArticlePages below each auto generated node.

Could possibly be done with a separate flag, like SaveAction.IgnoreAllowedPageTypes.

#115102
Jan 09, 2015 10:54
Vote:
 

+1

#115273
Jan 12, 2015 21:52
This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.