Class BpPage
- Namespace
- BpNexT.Actions.Abstractions
- Assembly
- BpNexT.Actions.Abstractions.dll
One declarative UI page of a module. Pages are discovered from the module assembly like the module itself and activated per request from the module's service scope (constructor-inject what the module can inject). BuildAsync(PageRequest, CancellationToken) returns a tree of blocks — plain data, never markup — that the host (Studio or the apps portal) renders in its own design language. Navigation between pages is a Link carried by a block; input blocks (SearchBox, Pager) feed their values back through the PageRequest on the next build. A list→detail browser is simply two pages and a link. A page build runs with a live microtech ERP session and is recorded as a view run (visible in the run history, tagged apart from ordinary action runs) — treat it as a read-only query.
public abstract class BpPage
- Inheritance
-
objectBpPage
- Inherited Members
-
object.Equals(object)object.GetHashCode()object.ToString()
Properties
- Audience
Who the page is rendered for; defaults to the end-user apps portal.
- Order
Menu sort key; ties fall back to the page name.
- ShowInMenu
False keeps the page out of the menu — reachable only through links.
- Title
The page's menu and breadcrumb title.
Methods
- BuildAsync(PageRequest, CancellationToken)
Builds the page's content for one request.