Skip required properties screen

Vote:
 

Hello,

I'm working on EPiServer 8 and I want to skip screen which appears when we choose create new page.

Current scenario

1. Editor clicks add new page.

2. He Chooses type of page what he want

3. He is able to fill only required fields and clicks create new

4. Editor opens on edit screen and he is able to fill all data of article 

Desired scenario

1. Editor clicks add new page.

2. He Chooses type of page what he want

3. Editor opens on edit screen and he is able to fill all data of article - here he need also to fill required fields so he will not be able to publish site without filling data properly.

Is this possible to achieve or are there some limitations?

Thanks.

Krzysztof

#123596
Jul 09, 2015 14:16
Vote:
 

Hi,

you could do this by adding a custom validator. Check out this blogpost: http://henrikm.com/custom-episerver-property-validation/

If you use the code at "2. Validation of properties that exists on a specific pagetype.", change the severity to "ValidationErrorSeverity.Error". This way the editor will not be able to save until the property has been set. Remember to change "BasePage" to your specific page type, with the corresponding property to validate.

#131301
Jul 20, 2015 15:52
* 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.