Skip to main content

system.kanoa.utilities.getStoredDateRange

This function requires KanoaCore module

Description

Gets the stored date range for the page to make the date selector persistent across views in the current tab (page) (kanoaCore).

Syntax

getStoredDateRange(self)
  • Parameters
      self (Page object) - The instance of the page object.
  • Returns
      selectedDateRange (Dictionary) - A dictionary containing 'startDate', 'endDate', and 'selectedRange'.
  • Code Example

    # Example Usage:
    stored_date_range = system.kanoa.utilities.getStoredDateRange(self)