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

Installation and Configuration

1_module

This module does not require any settings and can be used immediately after installation.

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.

2_icalendar_createEvent

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.

3_endpoint

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:

4_ui

Corresponding BP is presented on the example below:

5_bp_1

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/<ID>/download/, where ID is the file ID (from the calendar block ICalendar: Create Event, in this case). To form the file address, the To String block is used (to convert calendar [file] to a string) and then Concat String multiple is used to get the final link to the file in the database. The corresponding part of the BP looks like this:

5_bp_2

Published application looks like:

6_result_layout

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

7_calendarSettings

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

8_import

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

9_event

Was this article helpful?

AppMaster.io 101 Crash Course

10 modules
2 weeks

Not sure where to start? Get going with our crash course for beginners and explore AppMaster from A to Z.

Start Course
Development it’s so easy with AppMaster!

Need More Help?

Solve any issue with the help of our experts. Save time and focus on building your applications.

headphones

Contact Support

Tell us about your problem, and we’ll find you a solution.

message

Community Chat

Discuss questions with other users in our chat.

Join Community