Search Results

Knowledge Base 1403
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
How to monitor who and what deleted pages or any data
Issue I would like to check who and what deleted pages or data from the Liferay system. Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution There are two ways of checking who and what deleted data: 1. From the UI...
Configuring RSS feeds for web content
Issue How can I configure an RSS feed for web content? Environment Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Resolution In order to configure an RSS feed for web content, you should perform the following: Enable...
How to configure an asset publisher RSS feed with a short redirect URL and specific number of items
Issue When configuring the RSS Feed in an Asset Publisher, I would like to have the URL in the RSS XML short without the long URL containing the "Redirect" part. I also would like to specify the number of items that...
How to modify or remove the logo when configuring SEO settings
Issue When I create a new Site, I would like to remove or change the Liferay - DXP logo when configuring a specific page's SEO settings. How can I pursue this? Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution The...
How to create a fragment with a removable image
Issue Is it possible to create a reusable fragment with different elements like the "Card Fragment" (headings, image, paragraph, button), but create it in such a way that there is a placeholder image that an end-user...
How to prevent a full day event from displaying on two days in the calendar's month view
Issue When creating an all-day event that spans from 12:00 AM on one day to 12:00 AM on the next day, the event appears on both days in the calendar month view. How can I ensure the event is only visible on the first...
Integrate Okta with Liferay DXP using OpenID Connect
Introduction This recipe guides you through the steps to integrate Okta, your Identity Provider (IdP), with your Liferay environment using OpenID Connect. Prerequisites Okta Dev account Liferay DXP environment Administrative...
How to deploy a custom JAR to the shielded-container-lib directory in my PaaS Environment
Issue I would like to know how to deploy a custom JAR to the shielded-container-lib directory of Tomcat in my PaaS environment. Environment Liferay PaaS Resolution Follow these steps: In your Liferay Workspace,...
Discrepancy in Batch Behavior: headless-commerce-admin-account vs. headless-admin-user
Issue We’ve encountered a discrepancy in how batch operations work for Accounts between the headless-commerce-admin-account API (now deprecated) and the newer headless-admin-user API. Previous Behavior...
Migration Guidelines from Cloud Stack Version 4.x to 5.x
Introduction With the End of Functionality for Cloud Service Stack Version 4 on January 14, 2025, existing builds using Version 4 images will fail moving forward. As Liferay Cloud Version 5 introduces new features and...
Sending Individual Emails for Workflow Notifications
Background In a workflow, email notifications are sent to all users in a role as a single email with all recipients in the "To:" field. Objective The goal is to send individual emails to each of the...
Redirecting a non-www Domain to a www Domain
Issue How can I redirect traffic from my non-www domain (e.g., example.com) to my www domain (e.g., www.example.com)? Environment Liferay DXP 7.4 Quarterly Releases Resolution You can configure a redirect using Liferay's...
Setting a Site-Specific Display Page Template for a Web Content created from a Global Structure
Issue You are using a Web Content Structure that was created in the Global site so it can be shared across multiple sites. You need to set a default Display Page Template (DPT) for this structure, but you want the...
HTML in Text field in structures is not escaped
Issue After upgrading to 2024.Q4, HTML markup found in the Text field within structures is no longer being escaped properly The HTML markup is showing up as plain text   Environment 2024.Q4 Resolution This is the...
Updating Parent Object Fields from Child Object Actions
Issue How to update a field's value in the parent object when a new child instance is created using object actions of the child object. Environment Liferay DXP 7.4+ Resolution Use a Groovy script Action triggered by...
Dynamic Blueprint parameters with Search API
Issue Blueprints offer static filtering by field values, but a dynamic approach is needed where search fields enable filtering based on user-provided values for specific structure fields, Is possible to...
Custom Widget Gets Rendered Twice
Issue After defining a Custom Element widget and placing it on a page, it is observed that the widget is loaded twice. Sometimes this happens so fast that it is unnoticeable, other times a couple of seconds...
Is integration of mTLS possible in Liferay?
Issue We are required to use mTLS (Mutual Transport Layer Security) for certain requests Is it possible to integrate mTLS with Liferay? Environment DXP 7.4 Quarterly Releases Resolution Yes, it is possible to...
How to clear the data folder of Glowroot in Liferay PaaS
Issue How to clear the data folder of Glowroot in Liferay PaaS. Environment Liferay DXP 7.4 Liferay PaaS Resolution To clear the data folder through the Glowroot UI. Follow the below steps: 1. Visit the site and...
Auditing the remote client IP address changed after upgrade
Issue After upgrading from Liferay 7.0 to a more recent Quarterly Release we are facing changes to the Audit_AuditEvent table, which was storing, in the clientIP column, the content of the 'X-FORWARDER-FOR' HTTP...
Customizing Email Notifications in Forms application after upgrading to Liferay Quarterly Release
Issue In previous versions, we were customizing the email notifications sent by Forms application following the instructions of these articles: How can I configure or customize the look and content of email notifications...
Is possible to sort Object entries in a Collection Display Fragment?
Issue I'm using a Collection Display fragment to show objects. I need to apply some order to the list. Is this possible? Environment Liferay DXP 2024.Q4 Resolution Currently, the only way to sort object entries (with...
What URLs can be used to access my workflow tasks
Issue You may need to access a user's tasks without including their name in the URL or by explicitly including it. Environment Quarterly Release DXP 7.4+ DXP 7.3 Resolution Without User Identifier: It is possible to...
How to display form entries data which is submitted through form in user interface?
Issue Is there any way to view form entries in a grid format by clicking a button labeled "View Form Entries." ? Environment Liferay DXP 7.2 Resolution In Liferay DXP 7.2, the functionality to display form results...
CKeditor extra plugins
Issue I would like to add extra plugins to CKeditor. I would like it to work in web content translator also. Environment Liferay DXP 7.3+ Resolution Go to...
Including External JavaScript Libraries in Fragments from Documents and Media
Issue Need to use external JavaScript libraries that are uploaded to Documents and Media in fragments. Environment Liferay DXP 7.4 Resolution To include external JavaScript libraries stored in Documents and...
How to check current Liferay Version in SaaS environments?
Issue Users in SaaS environments need to know what version of Liferay they are running. Environment 2024.Q2 LXC Resolution To check the current Liferay version, navigate to Control Panel > Instance Settings and...
How to disable API endpoint (/o/api) for logged in users?
Issue Need to disable API endpoint (/o/api) for logged-in users. Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution To disable API Explorer, please navigate to Configuration > System Settings > Platform >...
Is it possible to offer both SAML and OIDC as SSO options?
Issue Both SAML and OpenID Connect(OIDC) can be configured on the same Liferay instance. However, the option to authenticate using OIDC is missing whenever SAML is enabled. Is it possible for a user to select either SSO...
Can URLs be localized in Navigation Menu and in "Link to URL" Layout Type ?
Issue We would like to have the possibility to use different external urls for different languages in the Navigation and menu elements and as Layout Type "Link to URL" in "Site builder -> Pages" For example: HU:...
Delay in "Add to Cart" Button Rendering on Slow Internet Compared to Other Platforms
Issue The "Add to Cart" button takes time to appear when using a slow internet connection in comparison to other platforms like Amazon, the button is immediately visible, although it remains non-functional until...
Getting a web content in scheduled status using the headless rest API
Issue We are using the Liferay Headless API method getContentStructureStructuredContentsPage of  headless-delivery /o/headless-delivery/v1.0/content-structures/<structure-id>/structured-contents To get a web content...
Enabling both Liferay's default login and SAML login so that users can use either option
Issue I would like to configure and enable SAML login while also having Liferay's default login available to users so that they can have two options for logging in. Environment DXP 7.4+ Quarterly Release Resolution...
Wikis with friendly URL
Issue When accessing a wiki article, the URL looks something like this:...
HTML elements disappear when creating new Object entries
Issue An embedded video (iframe) and other HTML elements within a Rich Text field of an Object are not persisting after saving a new entry. Environment Liferay DXP 2024.Q2 Resolution This is an expected behavior due...
Avoid last name field being mandatory when creating users
Issue When creating new users, some fields (such as first name and last name) are mandatory, marked with a red asterisk. How can one specify the mandatory fields? Environment Quarterly Release 2024.Q1, 2024.Q2,...
Access a site other than the default one without /web
Issue By default, it is possible to access the pages of the website included with the default installation both with and without /web. This article addresses the need to change the site where this behavior is required,...
How can we translate the Custom Heading of a Custom Facet?
Issue We have a search page with several facets. One of them is the "Custom Facet" widget. How can we translate the Custom Heading of a Custom Facet, to display in multiple languages on our site? The configuration page...
I cannot use the PUT method of the Object API's Batch endpoint with External Reference Codes (ERC)
Issue It is not possible to mass update a custom object's entries if: using the PUT method of the object's batch API endpoint and the External Reference Code (ERC) is given instead of the object entry's ID. The...
How to remove or deselect the theme for a specific page?
Issue The user has deployed a custom theme as a WAR file, and it is configured as the default. As soon as they create a new page, the same theme is applied, but they want to remove or deselect the theme for that...
I cannot disable the execution of Groovy scripts in Server Administration
Issue Despite disabling Groovy scripting in System Settings > Security section > Script Management, Administrators are still able to execute Groovy scripts in the Server Administration > Script tab. Environment...
Is there an alternative to the 'Liferay.Util.selectEntity' function?
Issue After upgrading to 2024.Q2+, Liferay.Util.selectEntity does not work anymore. It has been removed, according to the 2024.Q2 Breaking Changes. Is there any replacement for it? Environment Liferay DXP 2024.Q2+...
How to filter web content by structure field with headless APIs
Issue Create a custom structure and use a headless API to filter web content based on specific fields within that structure Environment Quarterly Releases DXP 7.4 DXP 7.3 Resolution The following...
How to add a comment in Page Comments widget as Guest?
Issue How to add a comment in Page Comments widget as Guest? Environment Liferay DXP 7.4 Resolution 0.) Use a vanilla Liferay 7.4 with the latest quarterly release. 1.) Go to Design --> Page Templates -->...
How to set up client extension to be used in multiple On-Premise instances
Issue You need to deploy a custom client extension to specific instances. What are the next steps? Environment DXP 7.4 Quarterly Releases. On-Premise, Local environment and PaaS Resolution A custom...
Create journal articles (web contents) programmatically
Issue I would like to know an easy way to create web contents programmatically. Environment Liferay DXP 2023.Q4 Resolution NOTE: The following resolution requires customization and should only be implemented at the...
How to remove Glowroot from the environment in Liferay DXP 7.3
Issue Steps to remove Glowroot from lower and production environment in Liferay Environment Liferay DXP 7.3 Resolution Stop the server. Kindly take a backup of the Glowroot folder. Remove the -javaagent:[path of...
Character replacement in web content with CKEditor
Issue When modifying the text entered in a text area of a web content in edit mode and publishing it, line breaks are automatically added in the generated HTML. After publishing, the <br> tags are automatically...
How to redirect users accessing www.mydomain.com to mydomain.com in my PaaS environment?
Issue We need to implement a rewrite rule that change the URL in a client request from www.mydomain.com to mydomain.com. How should we proceed to configure this in our PaaS environment? Environment Liferay PaaS...
Asset Publisher filtering by structure shows web content and folders
Issue In Liferay DXP 7.3, when filtering content in an Asset Publisher by structure, only the web content with that structure are shown In Liferay DXP 7.4, doing the same filtering will also show the folders that...
globalThis.process?.argv object contains an array set
Issue The globalThis.process?.argv object contains an array set in DXP 7.3, but in the latest release 2024.Q2.6, this is null or undefined.  Environment Liferay DXP [all versions] Resolution In this scenario,...
How to run Gradle Build for offline Environment?
Issue How to build the Gradle workspace offline? Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution The below points cannot be consider official solutions. Please take these as simple suggestions that...
Getting the value chosen by user in a 'Select From List' field
Issue How to get the value from the options added in a 'Select From List' field? We are getting the reference (i.e. ["Option37425674"]) instead of the value chosen by the user. Environment Quarterly Release...
How to setup Kibana in Liferay PaaS
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). NOTE: Liferay Support does not recommend or endorse specific...
Create custom API applications in Liferay
Issue Is there any way to create custom API applications without code? Environment Liferay DXP 2023.Q4. Resolution Liferay has created a new application to help developers build APIs based on custom objects in a...
If PaaS Environment Hangs after Upgrade Deployment Should we Rollback?
Issue During an update we observed an error on startup and so decided to rollback from 5.X to a 4.X version. However, when we tried to restart services the system would not recover, hanging indefinitely. Further, the...
Download Liferay Quarterly Releases Using the Linux Command Line
Issue I want to download Liferay using the Linux command line rather than going through a web browser. Environment Liferay DXP Quarterly Releases Resolution Liferay offers a release directory that can be downloaded...
Virtual product order status and tax
Issue Require the following with the virtual product: No need for user personal data and would like to remove it for checkout. The order status should moved to completed status directly after the payment....
Can we hide the External Video Shortcut option?
Issue We want to hide the above-mentioned option from the Documents and media because we don't want our users to be able to add videos, can we do it somehow? Environment Liferay DXP 7.4+ Resolution It is...
Access revoked after task assignment to another user
Issue Once the user assigns the task to another user, then the previous user loses access to that task and is unable to see that in the 'Assigned to my roles' tab of 'My workflow Tasks'. Steps to reproduce: 1....