Setting Default Dates - Public Sector Constituency Web Access - English - Foundation 22.1 - OnBase - external

Public Sector Constituency Web Access

Platform
OnBase
Product
Public Sector Constituency Web Access
Release
Foundation 22.1
License

Using the defaultStartDate and defaultEndDate keys in the searchPanel object, you can set default values for date search fields used by queries. To specify a default date, set the value of either the defaultStartDate or defaultEndDate keys to a date in the format MM/DD/YYYY.

Note:

For queries with only a single date search field, use the defaultStartDate key to set the default value.

For example, to set a default date range of January 9th, 1990 to December 31st, 2016 you would configure the keys as follows:

“defaultStartDate”: “01/09/1990”,
“defaultEndDate”: “12/31/2016”