Pass global filters to the dashboard page template
Global filters are sent to the dashboard to serve as filters for the visualizations within the dashboard. These filters are merged with existing filters in the dashboard.
Por Que e Quando Desempenhar Esta Tarefa
Either
encodedQueries, filters, or both can be specified. In the following
example, equivalent encodedQueries and filters values both filter visualizations that show records from the Incident [incident] table based on a State field value of 1 or
2:JSON.stringify({
encodedQueries: {incident: 'stateIN1,2'},
parFilters: [{ order: 0, apply_to: ['incident.state'], values: ['1', '2'] }]
})Configure links to dashboards on UI Builder pages to open dashboards that are already filtered.
Antes de Iniciar
Role required: admin