uc-apx create button
Insert a new button into a page’s existing region.
Kinds: redirect (in-app navigation), cancel (close-dialog, auto-emits a dynamicAction on modal-dialog pages), submit (page-submit), save (submit + databaseAction: update), create (submit + insert), delete (submit + delete with confirmation).
uc-apx create button [command]Subcommands
Section titled “Subcommands”| Command | Description |
|---|---|
cancel | Add a cancel/close button (definedByDynamicAction) |
create | Add a submit button with databaseAction: insert (hot) |
delete | Add a submit button with databaseAction: delete (confirmation required) |
redirect | Add a button that navigates to another page in this app |
save | Add a submit button with databaseAction: update (hot) |
submit | Add a generic submitPage button (no DML) |
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 |