Add a new filter
Add a new filter to a UI Builder dashboard to enable users to refine data views based on additional fields such as consumer, product, or other custom fields.
Antes de Iniciar
Role required: admin or maint
If the Components tab in UI Builder is not available, run provided background script to enable the component view for maint users.
var gr = new GlideRecord('sys_properties');
gr.setValue("sys_scope", "e9b68250cdffe4e1c64e494026ec6e9a");
gr.setValue("name", "sn_cb_experiences.uib.enable.cb");
gr.setValue("write_roles", 'maint');
gr.setValue("value", "true");
gr.insert(); Por Que e Quando Desempenhar Esta Tarefa
Filters allow users to refine dashboard data by specific fields. This procedure demonstrates how to add a new filter to any base system dashboard such as trending topics dashboard or sentiment analysis dashboard by duplicating and configuring an existing filter carousel item.
Procedimento
Resultado
The new filter appears in the dashboard filter carousel and enables users to filter data by the specified field.
Importante:
If you plan to make additional changes to the original component, refresh the UI Builder component page to prevent losing the changes made in steps 6-10.