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
After installation, a new
...
Lightning App Page will be available with the name Public Holiday Downloader,
...
which displays the component.
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.