Layout controls are structural containers in a .client file. They organize other controls into columns, collapsible sections, tabs, and visual groupings β but they do not display data themselves.
Control
Comparable to
Purpose
arrange
CSS Flexbox row, <div class="flex">
Side-by-side horizontal layout
section
HTML <details>, accordion component
Collapsible group within a page
fieldset
HTML <fieldset>, form section
Labeled flat field grouping (non-collapsible)
tabset / tab
Browser tabs, React <Tabs>
Tab navigation within a page
groupingfieldset
Grouped form with sub-groups
Field grouping with nested groupingfield blocks
panel
Bordered content panel
Standalone bordered container
arrange
Groups two or more components horizontally side by side. Typically used inside a page to create multi-column layouts (a summary group + a detail list, for example).
Syntax
arrange { <Component1>; <Component2>; ...}
page OrderDetailPage using SalesOrderSet { -- Side by side: header form on left, line items on right arrange { group OrderHeaderGroup; list OrderLinesList; }}
Responsive Behavior
On narrow viewports, Aurena may stack arrange columns vertically. The layout is a hint, not a guarantee β the framework is responsive. Compare to: CSS flex-wrap, Bootstrap col-md-6.
The Classic ERP Layout
The most common usage is arrange { group SummaryGroup; list DetailsListWithBind; } β a summary form on the left with a bound child list on the right. This mirrors the standard master-detail layout seen in SAP Fiori, Salesforce record pages, and most enterprise UIs.
section
A collapsible section within a page or dialog. The user can expand or collapse it by clicking the section header. Useful for separating primary data (always visible) from secondary data (collapsed by default).
page CustomerPage using CustomerSet { group CustomerHeaderGroup; -- always visible: core fields section ContactSection { label = "Contact Details"; collapsed = [true]; -- collapsed by default; users expand if needed group ContactGroup; } section AuditSection { label = "Audit Information"; collapsed = [true]; group AuditGroup; }}
Use collapsed = [true] for Secondary Data
Primary data (the recordβs core fields) should never be in a collapsible section β users should see it immediately. Put audit info, optional details, and rarely-used fields in collapsed sections.
Compare to: Material UI Accordion with defaultExpanded={false}, Bootstrap Collapse, HTML <details> element.
fieldset
A flat, labeled grouping of fields within a group or dialog. Unlike section, a fieldset is not collapsible β it just provides visual separation and a sub-label within a form. Useful when a single group contains logically distinct areas.
Syntax
-- Used inside a group:fieldset <Name> { label = "<Fieldset header>"; <field/lov declarations>}
group CustomerGroup for Customer { label = "Customer"; field CustomerName { size = Large; } field CustomerNo { size = Small; } fieldset BillingFieldset { label = "Billing Address"; field BillingStreet { size = FullWidth; } field BillingCity { size = Medium; } field BillingPostalCode { size = Small; } field BillingCountry { size = Medium; } } fieldset ShippingFieldset { label = "Shipping Address"; field ShippingStreet { size = FullWidth; } field ShippingCity { size = Medium; } field ShippingPostalCode { size = Small; } }}
Fieldset vs Section vs Group
Use group for the top-level form container bound to an entity. Use fieldset to subdivide that form visually without creating a new entity binding. Use section to add collapsibility at the page level.
Compare to: HTML <fieldset> + <legend>, a React FormSection wrapper component.
tabset and tab
Groups components into tabs within a page. The user clicks tab headers to switch between panels. Each tab is an independent section with its own content.
page OrderDetailPage using SalesOrderSet { group OrderHeaderGroup; tabset { tab LinesTab { label = "Order Lines"; list OrderLinesList; } tab DeliveryTab { label = "Delivery"; group DeliveryGroup; } tab NotesTab { label = "Notes & Attachments"; group NotesGroup; } }}
Tabs vs Sections: When to Choose Which
Use tabs when sections are mutually exclusive β the user views one at a time (order lines vs. delivery vs. notes). Use sections when sections might be viewed together but one is less important (core fields always visible, audit trail collapsed).
An advanced form layout that groups fields into a visual grid with column headers. The groupingfieldset is the container; groupingfield defines one column of the grid.
Use when you have parallel sets of fields that share a logical structure β planned vs. actual vs. variance, or multiple time period columns (Q1, Q2, Q3, Q4). Compare to: a comparison table in HTML, a styled <table> with column headers.
repeatingsection
A container bound to an array attribute that repeats its content (a list, markdowntext, or htmltext) once per row β distinct from list itself, this is for repeating mixed display content, not a grid.
No Marble description beyond the grammar shape. See Display Controls β htmltext for the htmltext construct most commonly nested here.
resizablearrange
A container variant of arrange whose panels can be resized by the user at runtime β βA container for an arranged set of individual visual items.β
Plain arrange (documented above) is a fixed side-by-side layout declaration. resizablearrange is for the same idea but lets the end user drag to resize each panel at runtime β useful when combining a map/ganttchart with a list where neither panel has an obviously βcorrectβ fixed width.
A common IFS page pattern is: group HeaderGroup (always-visible key fields) β tabset (categorized sub-sections). This gives users immediate access to the core record data while organizing additional details into named tabs.
Don't Nest Sections Inside Tabs Inside Sections
Deep layout nesting (section > tab > section) creates a confusing user experience. Keep the hierarchy flat: at most one level of tabs or sections within any given page area.
arrange Components Must Be Defined Elsewhere
The identifiers inside arrange { } (like list SomeList) must be fully declared as standalone constructs in the same .client file (or included fragment). arrange is purely a placement declaration β not a definition.
See Also
Pages β where arrange, tabset, and section are declared
Group β the form container placed inside layout controls