system.kanoa.utilities.storeDateRangeSelection
Description
Stores the passed-in date range to make it persistent across views in the current tab (page) (kanoaCore).Syntax
storeDateRangeSelection(self, startDate, endDate, selectedDateRange)- self (Page Object) - The page object.
- startDate (Datetime) - The start date of the range.
- endDate (Datetime) - The end date of the range.
- selectedDateRange (String) - Valid values are 'Today', 'Yesterday', 'This Week', 'Last Week', 'This Month', 'Last Month', 'Year To Date', None.
- None
Code Example
# Example Usage:
system.kanoa.utilities.storeDateRangeSelection(page_object, start_date, end_date, 'This Week')