uc-apx create page
Create a new apexlang page of the given —type. Writes to pages/pNNNNN-<slug>.apx by default.
Supported —type values: blank, classic-report, dashboard, form, interactive-grid, interactive-report, modal-dialog
uc-apx create page [flags]| Flag | Type | Default | Description |
|---|---|---|---|
--alias | string | Page alias (default: uppercase slug of —name) | |
--column | string | Comma-separated columns to render as pageItems (form only). Syntax: NAME[:TYPE[:LENGTH]]. TYPE ∈ varchar2 (default), number, date, timestamp, clob. | |
--dry-run | Print rendered content to stdout without writing | ||
--force | Overwrite target file if it already exists (does not bypass duplicate-id checks) | ||
--id | int | Page number (1-99998) [required] | |
--name | string | Display name of the page [required] | |
--page-group | string | Page-group alias to set as pageGroup: @<ref> | |
--pk-column | string | Primary-key column name (form only; default: first —column entry). | |
--required-column | string | Comma-separated columns that must be non-null (form only). | |
--title | string | Page title (default: —name) | |
--type | string | Page template: blank, classic-report, dashboard, form, interactive-grid, interactive-report, modal-dialog [required] |
Global Flags
Section titled “Global Flags”| Flag | Type | Default | Description |
|---|---|---|---|
--app-dir | string | . | Path to the APEX application directory |
--json-pretty | Output in pretty-printed JSON (human-readable) instead of minified JSON | ||
--toon | Output in TOON format (human-readable, token-efficient) instead of JSON |
Example Generated APEXlang
Section titled “Example Generated APEXlang”Using --dry-run to preview the generated construct (no files are written):
uc-apx --app-dir examples/brookstrut create page --id 100 --name Locations --type blank --dry-runGenerated APEXlang
page 100 ( name: Locations alias: LOCATIONS title: Locations appearance { pageTemplate: @/standard templateOptions: #DEFAULT# } security { pageAccessProtection: argumentsMustHaveChecksum formAutoComplete: false }
region breadcrumb ( name: Breadcrumb type: breadcrumb source { breadcrumb: @breadcrumb } layout { sequence: 10 slot: REGION_POSITION_01 } appearance { template: @/title-bar templateOptions: [ #DEFAULT# t-BreadcrumbRegion--useBreadcrumbTitle ] } componentAppearance { breadcrumbTemplate: @/breadcrumb templateOptions: #DEFAULT# } ))