uc-apx create page-item
Insert a new pageItem (input field) into a page’s existing region.
Each item type has its own subcommand (text, select, hidden, switch, date, number, radio-group, checkbox-group, display-only). The item is a direct page child, parented to the region via layout.region: @<id>.
uc-apx create page-item [command]Subcommands
Section titled “Subcommands”| Command | Description |
|---|---|
date | Add a datePicker pageItem |
display-only | Add a displayOnly pageItem (read-only render of a value) |
hidden | Add a hidden pageItem (session-state carrier with checksum protection) |
number | Add a numberField pageItem |
radio-group | Add a radioGroup pageItem with an LOV source |
select | Add a selectList pageItem (drop-down) with an LOV source |
switch | Add a switch (boolean toggle) pageItem |
text | Add a textField pageItem (or textarea/password variant) |
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 |