Legacy Knowledge Base
Published Sep. 10, 2025

Disabling Calendar Email Notifications in DXP

Written By

Michael Warren Young

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • In Liferay Portal 6.1, calendar notifications could be disabled using portal-ext.properties
  • In Liferay DXP 7.0+, these properties no longer exist

Environment

  • Liferay DXP 7.0+

Resolution

NOTE: This resolution requires customization and should only be implemented at the discretion of your team. Liferay Support will not be able to assist with designing or implementing customizations.

  • The best option is to create a wrapper for the CalendarBookingLocalService
  • The wrapper needs to set the value false for the attribute sendNotification of the object serviceContext just before calling the methods to add and update a Calendar event and before calling the method to update the Calendar event status.
  • This solution handles all Calendar notifications, except the reminder notifications, which are actively configured by the users.
  • Code to be added before method calls, which disables the Calendar notifications:
      1serviceContext.setAttribute("sendNotification", Boolean.FALSE);
  • List of methods which need to be added to the CalendarBookingWrapper:
  • You will need to also copy the code from addChildCalendarBookings to the wrapper, and set the sendNotification parameter to false just before the call of the method sendNotification, you should remove this line.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base