Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend validation is impossible #158

Open
pdonchev opened this issue Feb 4, 2020 · 2 comments
Open

Backend validation is impossible #158

pdonchev opened this issue Feb 4, 2020 · 2 comments

Comments

@pdonchev
Copy link

pdonchev commented Feb 4, 2020

Scenario: As a developer I want to intercept and cancel page publication if certain fields are not set. For example - I want to ensure SEO properties such as keywords and description are filled before allowing the user to validate the page.

I wasn't able to accomplish this using the new UI.
Further more - those fields are not initially visible on page creation, so the user will have to go:

  1. Create page
  2. Fill basic properties
  3. Go to page editor
  4. Title and Properties
  5. Publish

Is there a way to intercept and extend pages?
Sitefinity verison is 12.7200.0

Forgot to mention - otherwise as a user I like the new UI and find a lot of the tasks easier to do. Especially in-content search!

@pdonchev
Copy link
Author

Any update on this?

@mstratiev
Copy link
Contributor

I gave it a look and verified that on the latest version of Sitefinity on page creation in the new UI we display the required fields in addition to the basic fields and we trigger the required validation. Would making these fields required meet your needs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants