Skip to content

Views

Menu: Development → Views
Deep link: /_Admin/development/views?SiteId={siteGuid}

Views are reusable HTML template fragments in the site, referenced by pages, layouts, etc. Maintain View name and template body in admin; syntax and rendering: View template engine.

Permissions

Menu permission: view (view). Create, edit, delete, copy require view·edit / delete. Row Version requires site·log.

How to Open

  1. In Edit Menu, enable Development → Views.
  2. Open Development → Views in the left sidebar.
Views list overview

Toolbar

ButtonPermissionDescription
New viewview·editEnter edit page (new, empty id)
Views list toolbar: new view

List table

ColumnDescription
NameClick name to edit; name locked on edit page after save
Referenced byTags for pages, Layouts, etc. referencing this View
PreviewRelative preview path; click opens full preview URL in new tab
Last modifiedLast save time
VersionVersion history (site·log)

Supports multi-select Delete (view·delete). With one row selected, toolbar shows Copy (copy view dialog).

Views list table

Copy view dialog

Select one row, click Copy, enter new Name (default _Copy suffix), confirm to duplicate and refresh.

Copy view dialog

Edit view

Path: /_Admin/development/view/edit?SiteId=... (new without id; edit with &id={ViewId})

From list name or New view. Full-screen development edit (no left site menu): header properties and actions, code editor, save bar.

View edit: Monaco editor and footer
ControlDescription
View nameRequired on create, unique (1–50 chars, same naming as site resources); locked after save
SettingsOpen settings dialog (page element, fields, cache, etc.)
FormatFormat HTML in editor
View edit header: name, settings, format

Code editor

  • Language: HTML, supports KScript and code references (code-reference-type: view).
  • Shortcut: Save (same as footer save).
  • Unsaved leave prompts.
ButtonDescription
ReturnBack to view list
SaveSave; first save on new adds id to URL
Save and returnSave then return to list

Settings dialog

Settings on edit page; confirm writes to current edit model (footer Save still required to persist).

AreaDescription
As page elementWhen on, usable as draggable block in page designer
Display name / Preview imageOnly when "as page element": name and cover in designer
FieldsWhen page element: field editor for designer-configurable properties (defaults, dynamic options, etc.)
Enable cacheWhen on: cache dimensions and duration
Cache by deviceSeparate cache per device type (hover tooltip explains rules)
Cache by languageMultilingual sites: per culture
Cache by versionAll / Self / Custom; custom can check Development, Content, Commerce, etc.
Cache time (minutes)Cache TTL
Cache query keysQuery string params in cache key (hover tooltip)
View settings: page element and cache
DocDescription
Development overviewDevelopment menu and sub-items index
PagesPage tree and View references
Inline editInline HTML on pages
View template engineView syntax and concepts
LayoutsPage shell and @RenderBody()