The iCalendar module allows you to create *.ics event files that can be imported into your calendar.
Installation and Configuration

This module does not require any settings and can be used immediately after installation.
Related business-processes
The following business process is pre-generated in the project once the module is installed:
- ICalendar: Create Event - creates an .ics file of the scheduled invent and returns its file id;
- Input:
- Title [ string] - event title;
- Start [ datetime] - event start time;
- End [ datetime] - event end time;
- Filename [ string] - *.ics filename;
- Output:
- Calendar [ file] - file id in the DB.
- Input:

Usage example
Consider an example of creating and receiving an event file using the iCalendar module.
The first step is to bind the ICalendar: Create Event BP to the backend endpoint. To do this, go to Backend > Endpoints.
Next, after creating the appropriate group, a new endpoint is created, as in the example below.

As soon as the necessary BP is created, you can start creating the web interface and the necessary business processes.
In this example, the start and end dates of the event, its name and the name of the final .ics file are read from the web interface, at the click of a button, and then the file created in the database is downloaded to the user device.
The interface looks like this:

Corresponding BP is presented on the example below:

To download a file to the user's device, you can use the Download file from URL block when the URL is specified. In this case, the file is located in the application database, and its relative path will be defined as /api/_files/

Published application looks like:

To add the created event to your google calendar, on the calendar page go to settings:

Then go to Import & Export and import the .ics file you got in the deployed application.

Created event will appear in the calendar once it is imported.

