resolveLCMWorkspaceIdentifiers()
Home > @gooddata/sdk-ui > resolveLCMWorkspaceIdentifiers
resolveLCMWorkspaceIdentifiers() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Resolves LCM workspace identifiers. This function will use the data product and client information and consult the backend in order to obtain identifier of workspace contains analytics for that data product & client combination.
Note that at the moment only the bear Analytical Backend supports the workspace identification using LCM workspace identifiers. Attempting to use this function for other backends will yield empty result.
Signature:
export declare function resolveLCMWorkspaceIdentifiers(backend: any, { client, dataProduct, workspace }: IClientWorkspaceIdentifiers): Promise<IClientWorkspaceIdentifiers>;
Parameters
Parameter | Type | Description |
---|---|---|
backend | any | analytical backend to resolve client workspace identifiers on |
{ client, dataProduct, workspace } | IClientWorkspaceIdentifiers |
Returns:
Promise<IClientWorkspaceIdentifiers>
resolved IClientWorkspaceIdentifiers or an empty object if resolution is not possible