Skip to content

Calendar

The Calendar module draws M-Files objects as events on a day, week, month or agenda view. Anything with a start and an end can be shown: time entries, tasks, absences, room bookings.

Each event type maps one object type onto the calendar and says which properties supply the start, the end, the title and the colour. A calendar can hold several event types, which is how you show time registrations and public holidays on the same view without them being the same kind of object.

You need at least one object type with two timestamp properties. If the objects should be editable by dragging, those properties must also be writable by the people using the calendar — the calendar writes back through normal M-Files permissions, so it cannot let someone change something they could not change on the metadata card.

Calendar

The event types the calendar shows, and how it is laid out.

Event types

Type
List of Event type

Select the event types to display in the calendar.

Settings on each entry — 18 of them

Height

Type
Whole number

The height of the calendar in pixels. Default: the height the page has left for it, so the whole calendar - controls, grid and legend - stays inside the pane without scrolling.

Day max event rows

Type
Whole number

The number of events that the calendar will show in a given timeslot before collapsing the rest into a 'x more' menu. Default: no limit.

Default view mode

Type
One of a list
Default
Week

The view mode that the calendar should use when the calendar is opened. Default: Week.

  • Day
  • Week
  • Month

First day of the week

Type
One of a list
Default
Monday

Which day the week starts on. Default: Monday.

  • Sunday
  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday

Days

Type
Days selection

The days available in the week display mode. Default: all days.

Settings in this group — 2 of them

Business hours

Type
Business hours

The hours available in the week display mode. Default: all hours.

Settings in this group — 2 of them

Time slot length (minutes)

Type
Whole number
Default
30

The length in minutes of each time slot in the week/day (time-grid) views. Default: 30.

Initial Date

Type
M-Files property
Accepts
Timestamp

The timestamp property used to define which date should be used as the initial. If set, the calendar will go to this date instead of today's date.

Generated from CtrlPortals 3.26.9.53.