Legacy Knowledge Base
Published Jun. 30, 2025

Customizing Email Notifications in Forms application after upgrading to Liferay Quarterly Release

Written By

Jorge Diaz

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

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

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

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

Issue

In previous versions, we were customizing the email notifications sent by Forms application following the instructions of these articles:

Both articles say that this is not possible to do it out-of-the-box and explains how to change this  developing a customization with OSGI fragments.

We would like to know if this has changed as of latest quarterly releases.

Environment

  • Liferay DXP 7.4+
  • Quarterly Releases

Resolution

Customizing email templates for Forms application requires different approaches depending on whether you are working with legacy forms that stores data outside Objects or you are creating new ones using Objects:

Legacy Forms that doesn't use Objects

Customization of email templates for legacy Forms that doesn't use "Objects" functionality is not supported.

To modify these emails, you must implement a custom solution by overriding the HTML template used for email notifications.

For more guidance on this approach, please refer to the same articles you linked above:

Forms in Content Pages or Legacy Forms using Objects

If you create new Forms, or if you can replace your existing Forms with new ones to use Objects, you can leverage the "Notifications" and "Objects" functionalities for a more flexible and integrated approach to email customization. These are the steps:

  1. Integrate Forms with Objects: It is necessary to set up Forms to store the submitted data in Objects

    • New Forms in Content Pages: The recommended approach is to build new forms directly within content pages by using Fragments. This method seamlessly integrates with Objects.

      For more information, see: Using Fragments to Build Forms
    • Adapting Legacy Forms: While you can configure legacy Forms to use Objects for data persistence, this is only possible for newly created forms. Existing forms with stored data cannot be transitioned to use Objects.

      For more information, see: Using Forms with Objects

     

  1. Define Object Actions for Notifications: After integrating your forms with Objects, create Object Actions that trigger notifications upon form submission. This allows you to send customized email notifications based on form events.

    For more information, see: Defining Object Actions

     

  2. Customize Notification Templates: Tailor the content and style of your email notifications using Notification Templates. This provides control over the email's appearance and the information it conveys.

    For more information, see: Creating Notification Templates

     

Additional Information

Articles that explains how to customize notifications in Forms that doesn't use Objects:

 Official documentation about Objects and Forms functionality:

Official documentation about Notifications functionality:

 

 

 

Did this article resolve your issue ?

Legacy Knowledge Base