in interative filter i need to set some dynamic value, how can i set vales

Gillerla Rajesh
Tera Contributor

Hi There,

i have dashbaord in this having interatve filters, so now whenever user open the dashbaord i need to set some dynamic value to the user, so value is coming form the sys_user. i need to pick the cost center value and i need to set to dynamic filter as default .

 

GillerlaRajesh_0-1719245181739.jpeg

 

GillerlaRajesh_1-1719245238992.jpeg

in this image i set value as static but i need dynamic value will change, how can i keep any one help me how to achvie or provide me any source code please.

 

 

1 REPLY 1

Slava Savitsky
Giga Sage

I have never done this before, but based on the product documentation, it should be doable. I think you need to create a dynamic filter option and a custom interactive filter. In the code of your custom interactive filter, you will need to use the DashboardMessageHandler API and pass an encoded query string that is based on your dynamic filter option as argument to the publishFilter function.