Skip to content

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]
CommandDescription
cancelAdd a cancel/close button (definedByDynamicAction)
createAdd a submit button with databaseAction: insert (hot)
deleteAdd a submit button with databaseAction: delete (confirmation required)
redirectAdd a button that navigates to another page in this app
saveAdd a submit button with databaseAction: update (hot)
submitAdd a generic submitPage button (no DML)
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