These v19 docs are archived 🔒.
Go to the
latest docs home
or try if
this exact page is available
in the latest docs.
View Configuration
A view has a lot of configuration options, but they are all explained in the edit view dialog, so we're not documenting this here. Two things of interest which you may want to read about:
View Configuration in Razor
2sxc 12.02 introduces the ability to access View some Configuration from Razor.
- The most important properties are available on
CmsContext.View- this is an ICmsView object with properties likeIdIdentifierEditionName
Advanced Topics
- Switching between views based on the url
- Differences between features when using Content or App
- Protecting Views for certain users using permissions
- Hide advanced features from normal editors
History
- Introduced in 2sxc 1.0
- Made available to Razor in 2sxc 12.02