Waiting for engine...
Skip to main content

useFetchMapExtensions()

useFetchMapExtensions():

{ maps, hasMaps, fetchMapExtensions, +2 more }

Fetches map extension summaries (and, unless breakOnSummary is true, the full map extensions) for a given Integration Pack Instance ID. Results are de-duplicated across environments and processes.

Throws

Sets error state if the Boomi client is missing or if required parameters are invalid.

Returns

Hook API including fetched maps (when not short-circuited), a boolean indicating if any maps exist, a refetch method, and request state flags.

fetchMapExtensions()

fetchMapExtensions: (id: string, breakOnSummary?: boolean) => Promise<void>

Parameters

id
string Integration Pack Instance ID to query against.

breakOnSummary
boolean If true, set hasMaps and return as soon as any summary is found (skip full fetch).

Returns

Promise<void>
On this Page