Skip to content

uc-apx component

Show any component — LOV, region, authorization scheme, breadcrumb, list, or any other kind — by its ID or name. By default it shows the component’s own properties plus its immediate children as summaries (with a descendant count); pass —detail for the full recursive property tree. When an ID matches multiple nodes across kinds, a note is printed to stderr. Use —kind to disambiguate.

uc-apx component <id> [flags]
FlagTypeDefaultDescription
--detailInclude the full recursive property tree instead of just the immediate children
--kindstringFilter the lookup to nodes of this kind (e.g. region, breadcrumb, lov, page)
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
Terminal window
# Look up a LOV by its ID
uc-apx component food-types
# Look up a shared breadcrumb by name
uc-apx component "breadcrumb"
# Disambiguate when an ID matches multiple kinds
uc-apx component breadcrumb --kind breadcrumb
# Look up a region by name
uc-apx component "Application Actions" --kind region

Running against examples/brookstrut:

Terminal window
uc-apx --app-dir examples/brookstrut component food-types
kind: lov
id: food-types
name: FOOD TYPES
type: ""
file: shared-components/lovs.apx
line: 62
properties:
name: FOOD TYPES
source.location: staticValues
children[5]{kind,id,name,type,file,line}:
entry,drink,"","",shared-components/lovs.apx,68
entry,food,"","",shared-components/lovs.apx,74
entry,miscellaneous,"","",shared-components/lovs.apx,80
entry,snacks,"","",shared-components/lovs.apx,86
entry,soap,"","",shared-components/lovs.apx,92
JSON output
{
"kind": "lov",
"id": "food-types",
"name": "FOOD TYPES",
"file": "shared-components/lovs.apx",
"line": 62,
"properties": {
"name": "FOOD TYPES",
"source.location": "staticValues"
},
"children": [
{
"kind": "entry",
"id": "drink",
"file": "shared-components/lovs.apx",
"line": 68
},
{
"kind": "entry",
"id": "food",
"file": "shared-components/lovs.apx",
"line": 74
},
{
"kind": "entry",
"id": "miscellaneous",
"file": "shared-components/lovs.apx",
"line": 80
},
{
"kind": "entry",
"id": "snacks",
"file": "shared-components/lovs.apx",
"line": 86
},
{
"kind": "entry",
"id": "soap",
"file": "shared-components/lovs.apx",
"line": 92
}
]
}