in interative filter i need to set some dynamic value, how can i set vales
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 09:09 AM
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 .
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 04:25 PM
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.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/