Legacy Knowledge Base
Published Jun. 30, 2025

How to enable cookies and the banner, consent panel

Written By

Anushka Tiwari

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

  • How to enable the cookie preference handling as well as the configuration options for both the banner and the consent panel.

Environment

  • Liferay DXP 7.4

Resolution

  • This feature was introduced in the Liferay DXP 7.4 update 66. To enable this option, follow the below steps:
  1. Navigate to the Site Menu > Configuration > Site Settings.
  2. Click on the 'Cookies' option.
  3. Inside the 'Preference Handling' check box the 'Enabled' option.
  4. Click on 'Save'.

Expected Results: The banner and consent option, in which the cookie's category will be visible.

  • To enable this feature, for the updates below than the DXP 7.4 update 66, the below feature flag property needs to be added to the portal-ext.properties file and perform the above steps mentioned.
feature.flag.LPS-142518=true

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base