RecordPage
Lays out a record with a header and sections.
kor/ui/RecordPageSource
When to use
- Use it as the main page of a business object.
Examples
Order page
<k:RecordPage height="420px" title="Order 4711" subtitle="Deniz Tekstil" state="info" statusText="In production">
<k:actions><k:Button text="Edit" icon="pencil"/></k:actions>
<k:summary><k:Details columns="3"><k:Detail label="Total" value="18.400 TRY"/><k:Detail label="Delivery" value="12.12.2026"/></k:Details></k:summary>
<k:RecordSection key="items" title="Items"><k:Skeleton/></k:RecordSection>
<k:RecordSection key="docs" title="Documents"><k:List><k:ListItem icon="file-text" title="Contract"/><k:ListItem icon="file-text" title="Drawing"/></k:List></k:RecordSection>
<k:RecordSection key="log" title="History"><k:Activity><k:ActivityItem person="Ada Yılmaz" text="created the order" time="09:12"/></k:Activity></k:RecordSection>
</k:RecordPage>
API
Properties
| Name | Type | Default | Description |
|---|
title | string | | Title |
subtitle | string | | Subtitle |
statusText | string | | Status text |
state | string | | Status. Hidden when empty |
height | string | 100% | Height. The page scrolls inside itself |
Aggregations
| Name | Type | Description |
|---|
breadcrumbs | sap.ui.core.Control[] | Place for breadcrumbs |
actions | sap.ui.core.Control[] | Header actions |
summary | sap.ui.core.Control[] | Summary below the header |
sections | RecordSection[] | Sections |
Events
| Name | Type | Description |
|---|
sectionChange | key: string | The visible section changed |
Methods
| Name | Description |
|---|
scrollToSection(key: string): void | Scrolls to the section with the given key. |
RecordSection
A record page section.
Properties
| Name | Type | Default | Description |
|---|
key | string | | Key |
title | string | | Title |
text | string | | Description |
Aggregations
| Name | Type | Description |
|---|
content | sap.ui.core.Control[] | Content |
Related
DetailsBreadcrumbs