Skip to content

Calendar Pages

Calendar pages are declared in the same way as Aurena online, this feature is now available on all platforms. Calendar pages allow to visualize, edit and perform operations on any schedule type data. The current views supported are:

  • Day View
  • Week View
  • Workweek View
  • Agenda View

Calendar page usage

Calendars are only able to be loaded as a full page due to the amount of components shown in the control.

Create a calendar

  1. Define a navigator entry

entry FndMot parent FndmotNavigator.FndmotApps at index 1 { entry Calendar; }

  1. Define the entry

entry Calendar { label = "Calendar"; page CalendarTest; icon = "calendar"; }

  1. Create the page and set the calendar to it

page CalendarTest using ScheduleEntityDataSource { label = "Calendar Page"; calendar CalendarTest using ScheduleEntityDataSource; }

  1. Add the events to the calendar

``` calendar CalendarTest for ScheduleEntityDataSource { label = "Calendar Test";

  events {
     start = DateTimeFrom;
     end = DateTimeTo;

     view Agenda, Day, Week, WorkWeek, Month {
        field WoNo;
        field SeqNo;
     }
  }

} ```

Switching between different calendars

The calendar will allow the user to switch in between the different views set when creating the calendar events.

image-20210820123220637

Events

The event setting allows to add the different types of calendars into the view, an event can contain multiple types of calendars, it should contain the start date and the end date.

  • start

  • end

  • allday (optional)

  • view

#### View

The view will contain the types of calendars required in the calendar. It also contains the fields which will be shown as part of the event.

view Agenda, Day, Week, WorkWeek, Month { field WoNo; field SeqNo; }

Day

The day calendar will show the scheduled data for the selected day.

image-20210820123638315

Week

The week calendar will show the selected data for the 7 days in the week.

image-20210820123707837

Work Week

The work week calendar will show the selected data for the 5 days in the work week.

image-20210820123734468

Month

The month calendar will show the scheduled data for the selected month.

image-20210820123601327

Agenda

The agenda calendar will show the scheduled data as a chronological list, the list is scrollable depending on the size of the screen.

image-20210820123812828