Skip to content

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]
FlagTypeDefaultDescription
--aliasstringPage alias (default: uppercase slug of —name)
--columnstringComma-separated columns to render as pageItems (form only). Syntax: NAME[:TYPE[:LENGTH]]. TYPE ∈ varchar2 (default), number, date, timestamp, clob.
--dry-runPrint rendered content to stdout without writing
--forceOverwrite target file if it already exists (does not bypass duplicate-id checks)
--idintPage number (1-99998) [required]
--namestringDisplay name of the page [required]
--page-groupstringPage-group alias to set as pageGroup: @<ref>
--pk-columnstringPrimary-key column name (form only; default: first —column entry).
--required-columnstringComma-separated columns that must be non-null (form only).
--titlestringPage title (default: —name)
--typestringPage template: blank, classic-report, dashboard, form, interactive-grid, interactive-report, modal-dialog [required]
FlagTypeDefaultDescription
--app-dirstring.Path to the APEX application directory
--json-prettyOutput in pretty-printed JSON (human-readable) instead of minified JSON
--toonOutput in TOON format (human-readable, token-efficient) instead of JSON

Using --dry-run to preview the generated construct (no files are written):

Terminal window
uc-apx --app-dir examples/brookstrut create page --id 100 --name Locations --type blank --dry-run
Generated 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#
}
)
)