Extension points
Extend models, documents and their views.
Module · Veva.Modules.Documents
Define a model once, with the fields your content needs. Then list, filter, translate and publish its documents on any page, or serve them as JSON.
What it does
Field types from String and Html to Asset, Linked Documents and Value list. Or start from a model template.
A Document List shows them as a table, a grid, tabs or your own components, with paging.
Filter by folder, field, tag, search text or date, with values bound from a form or the address.
A Document friendly URL rule gives each document an address such as /news/my-story/.
Serve a model as JSON, XML, RSS or iCal, or read it through the headless Documents API.
Import CSV rows, translate the localizable fields, and publish drafts when they are ready.
How it works
01
Give it fields, languages and a UID format, or start from a model template.
IModelTemplate02
Write them in the editor, import a CSV file, or take them from a Document Form.
03
Place a Document List on a page and pick its design and filters.
Document List04
A detail page shows a single document. Bind its fields with {title}.
05
A routing rule turns ?uid= into a friendly URL.
DocumentFriendlyUrlRuleFor developers
Add a field type, react when documents are added, updated or deleted, or serve a model in a format of your own. Components bind document fields by name.
Extend models, documents and their views.
@code {
[CascadingParameter(Name = "RenderContext")]
public RenderContext RenderContext { get; set; }
// In a Document List's template, an editor sets it to
// "{title} · {_Published:d. MMMM yyyy}"
[EditorBrowsable, Parameter, DisplayName("Title")]
[EditorArgument("databinding", true)]
public string Title { get; set; }
}
<h3>@RenderContext.DataBindingContext.FormatString(Title)</h3>
Keep reading
Give each document an address of its own.
Read the guideProperties editors set, bound to document fields.
Read the guideMore of Veva
Each one is a package. Reference it, restart, and its components are in the editor.
Compose pages from components, then preview and publish
OpenOne media library, with images sized on request
OpenCrawl, index and search the whole site
OpenBuildVeva(), modules, components, themes and hooks
OpenData sources, sign-in, mail, analytics and media
Open