How to set default value on Custom date filter by using macros
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2023 11:44 PM
I'm using Custom date filter through macros on Dashboard. Now I want set default value as "Yesterday" on Custom date filter. How to set the default value..? Can anyone help me on this? Thanks in Advance..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2024 07:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2024 09:09 AM
See my general reply to this post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2024 10:03 AM
The simple fix for me this was to go ahead and apply a date filter in the report. This way when the dashboard renders it uses that filter on initial load. So, I just used opened = today to limit the amount of data pulled on load. It was pulling all the incident records, now it just pulls today, and I can adjust the interactive filter with no issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2024 07:48 AM - edited ‎11-27-2024 08:09 AM
I had this exact same issue and was able to fix it by adding two lines to the UI Macro.
1) Open your UI Macro, which in my case was a copy of interactive_date_filter_norsk.
2) Search on the following line (which in my case was at line 816):
setTimeout(handleChangeSelection,100);