validateDashboardsExistence()
Home > @gooddata/sdk-backend-spi > IWorkspaceDashboardsService > validateDashboardsExistence
IWorkspaceDashboardsService.validateDashboardsExistence() method
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.
Checks whether dashboards exist for current user. Returns sanitized array of existing dashboards according to user's permissions to access or drill to them.
Signature:
validateDashboardsExistence(dashboardRefs: ObjRef[]): Promise<IExistingDashboard[]>;
Parameters
Parameter | Type | Description |
---|---|---|
dashboardRefs | ObjRef[] | dashboard references to validate |
Returns:
Promise<IExistingDashboard[]>