OptionalattributesOptionalconfigurationOptionaldefault_OptionaldescriptionOptionalexttable_OptionalidOptionalsingletonOptionalslugOptionaltableOptionaltable_Optionaltable_Optionalupdated_OptionalviewtemplateGet menu label
Full access decision: checks plugin authorize_view hooks and combines
with min_role. A hook's explicit allow/deny always wins; only when
every hook abstains does min_role decide. Proxied to the server on
mobile for remote tables, so hooks never need to handle remote/local.
the acting user (or undefined/public)
"get" or "post"
Optionalbody?: GenObjPOST body, for action "post"
Optionalremote?: booleandefaults to this.isRemoteTable()
the request object, forwarded to hooks
Optionalroute?: stringname of a specific viewtemplate custom route being invoked (ViewTemplate.routes key), if any
Optionalstate?: GenObjquery/state, for action "get"
Clone View
Delete current view from db
emit a Real-time collaboration event for this view.
event without view name (e.g. "DROP_EVENT")
object you want to get in the event handler
get event name with view name in it (e.g. DROP_EVENT_my_kanban_view).
event without view name (e.g. "DROP_EVENT")
the full event name
saltcorn-mobile-app helper. True when this process has no local data access and must proxy queries to the server (mobile, online). False on the server, and false on mobile when offline. Not a per-table check despite the name.
whether this view's queries must go over the network
Optionalremote: booleanOptionalreq: ReqOptionalres: anyShould we render on the local machine or get it from a server? In the normal web mode it's always the server but on mobile, we can render on the device as well
StaticcreateStaticdeleteStaticfindOptionalwhere: WhereStaticfind_Staticfind_Staticfind_StaticfindStaticstate_StaticupdateUpdate View description
view name
id
View Class