Adding Date Filters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I need a best‑practice way to add a Start and End Date filter in UI Builder. The idea is to place a date picker (filter component) on the visualization page, and when a user selects a date, the report’s data source should update to only show records after that date. means pass the start and end date to visualization (horizontal/vertical bar chart)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
56m ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
48m ago
Hi @SathiyanathJ ,
I have established a comprehensive set of functional and non-functional best practices guidelines tailored for implementing a dynamic date filter within UI Builder while maintaining a robust platform architecture. This framework ensures that visual components remain highly performant, data integrity is strictly enforced, and development velocity is maximized through strategic asset reuse.
1. Frontend Configuration and User Experience
-
Dynamic State Management: Utilize page level client state parameters to capture and pass date inputs dynamically to horizontal or vertical bar chart data sources, ensuring immediate visualization updates based on user selection.
-
Proactive Client Side Validation: Embed UI layer validators to enforce that the start date always occurs prior to the end date, preventing broken queries and safeguarding the workspace from infinite loading states or blank reports.
2. Enterprise Architecture and Non-Functional Standards
-
Modular Reusability: Design the filter as a global feature from the outset. This transforms the component into a reusable build asset, ensuring that the investment effort is done only once and the component can be deployed seamlessly across multiple workspaces.
-
Database Integrity via Business Rules: Employ Business Rules to handle crucial logic required before data is inserted or updated in the database. This guarantees backend consistency completely independent of frontend UI behavior.
-
Automated Integration via Flow Designer: Leverage Flow Designer as the primary engine for broader platform integrations, actions, and delayed triggers, maximizing operational reliability for processes tied to the visualized data.
In addition, i have created this playlist that you maybe able to benefit from using the Zurich vesion.
Please mark as helpful or accept as solution if you find the response lucrative
