Waiting for engine...
Skip to main content

useFetchMapExtension()

useFetchMapExtension():

{ maps, fetchMapExtension, isLoading, +1 more }

Provides an imperative fetchMapExtension(mapId) function that retrieves the specified Environment Map Extension and stores it in state.

Throws

If the Boomi client is not initialized or mapId is missing.

Returns

Hook API with the fetched map, loading/error state, and fetch function.

maps
EnvironmentMapExtension

isLoading
boolean

error
string

fetchMapExtension()

fetchMapExtension: (mapId: string) => Promise<void>

Parameters

mapId
string The ID of the Environment Map Extension to retrieve.

Returns

Promise<void>
On this Page