Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

image-20240722-125644.png

Enabling Calendars within the Features tab allows you to specify one or more calendars, similar to Google and Outlook. For example, you can have Personal and Holiday calendars or the calendars of multiple people with definable calendar colors.

image-20240722-125830.png

It is also possible to select or assign the calendar in the default edit popup.

Calendars

image-20240722-125958.png

To enable calendars it should first be enabled under the features tab.

image-20240722-130242.png

After this you can define a datasource for your calendars. At a minimum the calendar needs a name but you can also assing it a custom color and custom class.

The default calendar let’s you define what calendar is used for newly created events.

Persisting data

image-20240722-130437.pngimage-20240722-130946.png

When calendars are enabled and you want to persist data (such as changes or the creation of events), you need to map “Event calendar(s)” to an association on your context to your calendar entity. This association will be updated with the new calendar assigned to the event. This value can be used in on-change or create flows to persist the calendar for the event in the database.

Note that both many-to-many and many-to-one associations are supported, allowing you to assign events to either one calendar or multiple calendars. Ensure that you set the same type of association in both the General tab and the Events tab.

  • No labels