scanOrgBindings
scanOrgBindings(
connection,types):Promise<OrgScanResult>
Defined in: packages/simply-aep-core/src/at4dxOrgScan.ts:119
Query the target org for AT4DX Application Factory bindings, one SOQL query per requested
binding type, run in parallel. These are ordinary queryable Custom Metadata records — plain
REST (connection.autoFetchQuery), no Tooling API, no chunking (row counts are inherently
small).
A type whose Custom Metadata Type doesn’t exist in this org fails with INVALID_TYPE; that’s
reported via missingTypes rather than thrown, so the caller can distinguish “AT4DX isn’t here
at all” from “AT4DX is here, this type just has no records configured yet.”
Parameters
Section titled “Parameters”connection
Section titled “connection”The org connection to query against.
Which binding types to query for.
Returns
Section titled “Returns”Promise<OrgScanResult>
The discovered bindings, diagnostics, and which requested types don’t exist in this org.