← All native models

Native model

portal_site_document

Declare a named portal_site_document value and reference it as portal_site_document.your_name. Models have no separate platform identity or lifecycle.

Topics: Surfaces

Used by: portal_site_version.source

Fields

A Portal site: its pages, components, routes, tools, shared Lua, layouts, stylesheets and public assets.

object
assetsOptional
componentsOptional
layoutOptional

The layout that wraps every page, by name; none means pages are whole documents.

string
Minimum length
1
layoutsOptional
librariesOptional
pagesOptional
routesOptional
stylesOptional
toolsOptional

Only the fields listed here are accepted.