Skip to content

uc-apx refs

Find every component in the app that references the given ID via an @-reference. Useful for understanding what uses a shared LOV, list, breadcrumb, or authorization scheme.

uc-apx refs <id> [flags]
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
# Find all components that reference the 'food-types' LOV
uc-apx refs food-types
# Find all components that reference page 1
uc-apx refs 1
# Find references to an authorization scheme
uc-apx refs "must-not-be-public-user"

Running against examples/brookstrut:

Terminal window
uc-apx --app-dir examples/brookstrut refs food-types
[1]{kind,id,name,file,line,referencedIn}:
pageItem,P12_ITEM_TYPE,P12_ITEM_TYPE,pages/p00012.apx,140,lov.lov
JSON output
[
{
"kind": "pageItem",
"id": "P12_ITEM_TYPE",
"name": "P12_ITEM_TYPE",
"file": "pages/p00012.apx",
"line": 140,
"referencedIn": "lov.lov"
}
]