ClientWorkspaceProvider()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
ClientWorkspaceProvider can be used as a replacement of the WorkspaceProvider(), if you want to work with the workspace in LCM context.
It allows you to: - Use dataProduct and client identifier as a replacement of the workspace identifier. Workspace identifier is resolved and provided to the WorkspaceProvider() automatically.
- Use workspace identifier to obtain dataProduct, client and segment identifiers by the useClientWorkspaceIdentifiers() hooks.
If the backend does not support clientId / dataProduct LCM provisioning, or the workspace is not provisioned via LCM, segment / client / dataProduct values will be undefined.
To read more details about LCM, see: https://help.gooddata.com/pages/viewpage.action?pageId=86796865
export declare function ClientWorkspaceProvider(props: IClientWorkspaceProviderProps): import("react/jsx-runtime").JSX.Element;
Parameters
Parameter | Type | Description |
|---|---|---|
props |
Returns
import(“react/jsx-runtime”).JSX.Element