Setting Default Dates - Setting Default Dates - OnBase - Public Sector Constituency Web Access - OnBase/Public-Sector-Constituency-Web-Access/Foundation-24.1/Public-Sector-Constituency-Web-Access/Configuration/Front-End-Client-Configuration/Search-Panel-Settings/Setting-Default-Dates - Foundation 24.1 - Foundation 24.1

Public Sector Constituency Web Access

Platform
OnBase
Product
Public Sector Constituency Web Access
Release
Foundation 24.1
License
ft:lastPublication
2025-04-01T13:35:58.829000
ft:locale
en-US

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”