The UK Bank Holiday Lookup Data Connector provides access to the official UK Bank Holiday Dataset published by the UK government and can be used to retrieve bank holiday names, dates and other details for several years.
Once this has been installed and added to a Form, you can access this Data Connector in the Form's server event scripts using: connectors.verjio.ukbankholidays.
ukbankholidays.getAll retrieves all available bank holidays in the UK.
ukbankholidays.getYear retrieves all bank holidays in specified region for a given year.
ukbankholidays.getRegion retrieves all available bank holidays for a given region.
ukbankholidays.isBankHolidayToday determines if today is a back holiday in a given region.
ukbankholidays.isBankHoliday determines if the specified date is a back holiday in a given region.
Code example:
var bankHolidays = connectors.verjio.ukbankholidays.getAll();
For comprehensive information on how to use and develop applications with this Data Connector please refer to the Support section.
The Installation section has instructions on installing it into your Workspace.
Complete JavaScript API documentation for this Data Connector can be found in the Documentation section.