useAutomationAvailableDashboardFilters()
Home > @gooddata/sdk-ui-dashboard > useAutomationAvailableDashboardFilters
useAutomationAvailableDashboardFilters() 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.
Warning: This API is now obsolete.
- can be removed, once
enableAutomationFilterContext
is removed
Hook to get filters that are available to be used for any automation.
- Filters are respecting current set dashboard filter context - Cross-filtering filters are omitted as they are not desired to be saved in the automation - If default dashboard filters has overrides, use them instead of the current dashboard filter context - If common date filter is not present in the dashboard filter context, add it
Signature:
export declare function useAutomationAvailableDashboardFilters(): FilterContextItem[] | undefined;
Returns:
FilterContextItem[] | undefined