Today Date and Time: Displaying Dynamic Data in Repeating Groups

A repeating group displays a list of items from a data source. This source must be a list, often generated by a database search. The search specifies the data type and any constraints to filter the results. You can limit the number of displayed items using the ‘items until #’ expression, which requires a numerical value.

Trying to insert a date directly into the data source is illogical and ineffective. Start and end dates function as search constraints, either static or dynamic. Custom states, set by button clicks, provide a streamlined way to manage these dates.

Similarly, location filtering can leverage custom states. A state variable can store the dropdown menu’s selected location. If “All Locations” is chosen, the state should be empty. This single data source approach, with a unified search, simplifies the design and improves efficiency compared to multiple conditional data sources and searches.

Maintain your current data source structure and implement location, start date, and end date constraints directly within the search, utilizing custom state values. Workflows should update these state values upon user selection of locations and dates. This ensures dynamic content updates reflecting the chosen “Today Date And Time” context within the repeating group.

Leave A Comment

Name*
Message*