Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This Lightning Web component Component enables you to download public holidays for a chosen resource Resource and save them as unavailabilities in GoMeddo. Availability Unavailability for resources can be inherited. For example, which means you can set it up use this component to make all rooms in a country unavailable using this componentduring a public holiday.

Info

The data we use in this component is fetched from the https://www.openholidaysapi.org/en/. OpenHolidays API is a small Open Data project that collects public holiday and school holiday data and makes it available via an open REST API interface.

...

Installation

Info

Use this URL to install the package into Production and Developer orgs

Tip

Use this URL to install the package into Sandbox orgs

How to use

  1. After installation, a new

...

  1. Lightning App Page will be available with the name Public Holiday Downloader,

...

  1. which displays the component.

  2. Type a Resource name in the Resource lookup to select it. This can be a parent resource, such as a country for example.

As this is an unlocked package you can modify the source code if needed.