Getting Started with Calendar

This tutorial provides instructions on getting started with integrating Calendar into your application.

Project Setup

You will use the Onboarding application created in the Tutorial section as a starting point.

  1. If you haven’t created this application, you can refer to the Tutorial section, which offers a detailed, step-by-step guide for developing the base application.

  2. Otherwise, download the complete application source code from the jmix-framework/jmix-onboarding-2 GitHub repository. Next, follow the instructions in the Opening Existing Project section to open it in Jmix Studio.

  3. Add the Calendar add-on according to the installation section.

About the Sample Application

In this tutorial, we’ll introduce a new feature to the Onboarding application.

In the Onboarding application, upon successful completion of all onboarding tasks by an employee, the application automatically creates a new meeting event. This event is then displayed in the employee’s MyCalendar view.

getting started result

Data Model

The original data model of the Onboarding application looks as follows:

data model diagram

To achieve new application behavior, you will need to slightly modify the model by adding a new JPA entity called Meeting. The Meeting entity will be related to the User.

data model calendar