hub.eb?material_id=798
Country

Public Holidays Lookup

Lookup the public holidays of over 100 countries using nager.date.

Overview

The Public Holidays Lookup Data Connector provides a simple way to lookup public holidays and long weekends of over 100 countries using Nager.Date's Public Holidays API.

Once installed and added to a Form, you can access this Data Connector in the Form's server event scripts using: connectors.verjio.publicholidays.

  • publicholidays.getHolidays looks up the public holidays for a given country and year.
  • publicholidays.getLongWeekends looks up the long weekends for a given country and year.
  • publicholidays.isHolidayToday determines if the given country has a public holiday today.
  • publicholidays.isHoliday determines if the given county has a public holiday on the specified date.

Code Example:

var holidays = connectors.verjio.publicholidays.getHolidays('GB', 2025);

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.

Documentation

Installation

Install this Data Connector into your Workspace in the Verj.io Studio:

  1. Right-click on the location in the Entity Tree you want the Data Connector to be added.
  2. Select New >  Data Connector from the context menu.
  3. In the resulting dialog, select this Data Connector from the list of available Data Connectors.
  4. Click OK to download it into your Workspace.

Once the Data Connector is installed into your Workspace, it can be added to any number of Forms:

  1. Open the Form by double-clicking it in the Entity Tree.
  2. Drag the downloaded Data Connector from the Entity Tree into the Form's  Data Connectors View.

This Data Connector does not require any additional configuration.

For comprehensive information on how to customise, use, and configure Data Connectors, please refer to the Support section.

Support

Public Holidays Lookup Support

Data Connector Support

Compatible Verj.io Versions

FromV5.13

Support

Supported by Ebase.