← All native models

Native model

portal_page

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

Topics: Surfaces

Fields

One page: its URL pattern, DataXML template, server Lua, local handlers and CSS.

object
handlersOptional
routeRequired

The page's URL pattern: literal segments and :name parameters, such as /products/:slug.

string
Minimum length
1
serverOptional
styleOptional
templateRequired

Only the fields listed here are accepted.