replaceKpiWidgetIgnoredFilters()
Home > @gooddata/sdk-ui-dashboard > replaceKpiWidgetIgnoredFilters
replaceKpiWidgetIgnoredFilters() function
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Creates the ChangeKpiWidgetFilterSettings command for FilterOpReplaceAttributeIgnores operation.
Dispatching this command will result in replacement of KPI widget's attribute filter ignore-list. Those attribute filters that use the provided displayForms for filtering will be ignored by the widget.
Signature:
export declare function replaceKpiWidgetIgnoredFilters(ref: ObjRef, displayForms?: ObjRef[], correlationId?: string): ChangeKpiWidgetFilterSettings;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| ref | reference of the KPI widget to modify | |
| displayForms | ObjRef[] | (Optional) refs of display forms used by attribute filters that should be ignored | 
| correlationId | string | (Optional) specify correlation id to use for this command. this will be included in all events that will be emitted during the command processing | 
Returns: