createWidgetAlert()
Home > @gooddata/sdk-backend-spi > IWorkspaceDashboardsService > createWidgetAlert
IWorkspaceDashboardsService.createWidgetAlert() 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.
Create widget alert for the provided widget alert definition
Signature:
createWidgetAlert(alert: IWidgetAlertDefinition): Promise<IWidgetAlert>;
Parameters
Parameter | Type | Description |
---|---|---|
alert | IWidgetAlertDefinition | widget alert definition |
Returns:
Promise<IWidgetAlert>
promise with the created alert