Search Results

ナレッジベース 1412
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Step-by-Step SAML Integration with Liferay and Keycloak
Issue Is Keycloak supported with Liferay? If yes, how can SAML be configured with Liferay? Environment Lifeary DXP [All versions] Resolution As per Liferay’s official compatibility matrix, Keycloak is not listed as a...
Unable to use /-/ for redirection rules.
Issue When I use 2024.q3.13 I'm unable to use /-/ for redirection. I receive an error. Steps to reproduce: Start a clean bundle of Liferay DXP 7.4 QR 2024.Q3.13 Go to Configuration -> Redirection and add a new...
How to Enable Audio for CAPTCHA
Issue How can users enable audio for CAPTCHA verification? Environment Liferay DXP 7.4 and above Resolution Liferay does not provide out-of-the-box (OOTB) support for audio CAPTCHA functionality. However, users...
How to expose large object entries to guest users without manually assigning the permissions
Issue How to expose object entries to guest users without manually assigning permissions to each entry. Assigning permission will work here but if the number of entries in the object is large, it will not be...
CVE-2021-29044
Issue We would like to verify if our Liferay instance is vulnerable to CVE-2021-29044 Environment DXP 7.2, DXP 7.3 Resolution Please see if your current patch level is higher than 7.2 FP10, or 7.3 DXP1.  If your current...
Deploying an EXT module on PaaS
Issue Deploying an EXT extension results in the extension being lost after the environment restarts. Environment Quarterly Releases 2023.Q3.3+. PaaS Resolution The use of EXT modules is discouraged....
Documents and Images Missing After Restoring Backup to PaaS
Issue After restoring a database and document library backup to a Liferay Cloud PaaS environment, the documents and images are missing. Environment Liferay DXP. Liferay Cloud PaaS Google Cloud Storage...
Re-enabling Basic Authentication when Unable to Access the DXP Control Panel
Issue My Basic Authentication was disabled at the Instance Level, and now I am unable to access the DXP Portal because of it. How do I re-enable Basic Authentication without logging in?   Environment Quarterly...
Define Configurable Variable to manage values across Liferay sites in Liferay pages
Issue How variables to be used across the site, primarily for Fragments, to assign dynamic values that can be changed and propagated from a single place. Environment Liferay DXP 7.4 U4+ Liferay DXP Quarterly...
Setting up Session Timeout in your Liferay environment with WebLogic
Issue How to set up Session Timeout in your Liferay environment with WebLogic? Environment Liferay DXP 7.3+ Resolution The Session Timeout can be defined in web-app/web.xml file within session-config like...
How to grant access to Analytics Cloud members for members of a Liferay internal portal?
Issue Could you please guide me how to grant access to Analytics Cloud for internal members of our Liferay portal? Environment Analytics Cloud Resolution Generally speaking, the new users have to log in to...
Multiple Performance Issues Identified via Lighthouse, Google Insights and Web Audit Tools
Issue How do I increase site performance with Lighthouse, Google Insights and Web Audit Tools? Environment Quarterly Releases DXP 7.0 DXP 7.1 DXP 7.2 DXP 7.3 DXP 7.4 Resolution Firstly, please note that Liferay does...
Configuring the "Module Definition Timeout"
Issue We needed to programmatically configure the "Module Definition Timeout (seconds)" setting found under System Settings > Infrastructure > JavaScript Loader in the Liferay UI. Specifically, we were looking for a...
Is there a way to customize URLs by Web Content Structures?
Issue We would like to know if there is a way to customize URLs by web content structure for SEO purposes. Currently, friendly URLs for web content use the /w/ separator, which can be customized since 2024.Q2. See...
Unable to get session state in 7.4 with call that worked in 7.2
Issue When trying to use Liferay.Session to get the session state I get a null value (utilizing specifically javascript and call Liferay.Session.get("sessionState") and the below error. This worked in 7.2, but does not...
Configuring OAuth2 for Message Board Mailing Lists
Issue Basic authentication for emails is no longer available for Gmail, can we use OAuth2 connection with them? Google Workspace has announced that third-party apps that use only a password to access Google...
How to Connect Documents and Media to a Local File System Using a WebDAV URL
Issue Steps to connect the WebDAV URL with your local machine's file system. Environment DXP 7.4 and above DXP 2023.Q4.0 and above Resolution For Fedora and Linux Machines (Before 2023.Q4.0): Navigate to Documents...
Changing the site logo
Issue How do I change my site's logo in 7.4? Environment 7.4 Resolution Open the Site Menu () and navigate to Site Builder → Pages. Click Options () in the Application Bar and select Configuration. Under Logo,...
How to map Liferay site roles with Azure AD
Issue How to map Liferay site roles to Azure AD roles when configuring SAML? For example, if there is a role called Content Author under site roles, how to configure this role in Azure AD? Environment Liferay...
Documents and Media allows restricted file types in portal-ext.properties
Issue The customer tried to restrict the file types .exe and .cmd to be uploaded in Documents and Media but despite configuring dl.file.extensions and dl.file.extensions.strict.check properties in...
How to Configure Global Error Pages in Liferay DXP
Issue How can I configure error pages (404, 403, 500) globally for all sites in Liferay DXP? Environment Liferay DXP 7.2+ Resolution While utility pages (including error pages like 404, 403, and 500) are configured at...
Embedding a Single Liferay Page in an iFrame
Issue I'd like to embed a form into other websites using an iframe so that guest users can fill and submit it. Content-Security Policy (CSP) configurations are instance-level, not page-specific. So, if I use the CSP...
Make certain pages accessible to specific IPs only
Issue How to make certain pages to be accessible only via specific IPs. Environment Liferay DXP [all versions] Resolution In order to allow certain pages to be accessible via specific IPs, users can perform...
Controlling Role Visibility via Headless API
Issue The /o/headless-admin-user/v1.0/roles API exposes all system roles, potentially revealing sensitive information about permission structures, user roles, and their associated components (portlets). Environment...
How to set two Liferays as separate SAML and IdP servers?
Issue How to set two Liferays as separate SAML and IdP servers? Environment Liferay DXP Quarterly Release Resolution Configure and setup first bundle: Add portlet.session.replicate.enabled=true to...
How to Remove Product Attachments via Commerce API?
Issue I need to remove a product attachment by running a script and I am looking for the appropriate Commerce Headless API endpoint to accomplish this. Environment Liferay DXP 2023.Q4.0+ Resolution As of Liferay...
Customize Liferay Startup Logo
Issue How to customize Liferay Startup Logo Customization Environment Liferay 7.3 Liferay 7.4 Resolution NOTE: The following resolution requires customization and should only be implemented at the discretion of...
How to set up Search Blueprints to be used with Search headless API
Issue You do not find a suitable headless API or is not still developed by Liferay so you would like to create your own search blueprint and invoke it easily from Search API. For example, retrieve draft...
How to get the portlet ID in the Asset Publisher template
Issue How can I obtain the portlet ID, which is used for advanced styling, within the Freemarker template of the Asset Publisher? Environment Liferay DXP 7.4+ Resolution The portlet ID used for advanced styling is a...
Can we enable a prompt for asset removal?
Issue Currently, there is no confirmation message before we remove assets (web contents, documents etc) asking us if we really want to do it This could lead to accidental deletions which of course can be...
Configure Rate Limiting in Apache for Liferay Forms
Issue How to prevent users from submitting a form too frequently (e.g., more than 10 times in 10 seconds) in a custom MVC portlet. Environment Liferay DXP 7.4 Resolution Configure rate limiting directly in the...
Marketplace License Does Not Appear On Our Account and Purchased Apps Not Visible
Issue We purchased a perpetual license to the RTG Survey Portlet, but it seems that it's no longer attributed to our account. As the marketplace has changed significantly since we last had to re-issue a license key,...
How to perform some actions when an OSGi module is started/stopped
Issue I would like to perform some actions when my OSGi module is started/stopped. How can I achieve that? Environment Liferay DXP 7.0+ Resolution NOTE: The following resolution requires customization and should only...
Alternative to using the Registry API in Liferay DXP 7.4
Issue Upgrading from Liferay DXP 7.3 to 7.4 can found issues with a custom module that overrides jsp files and uses the Core Registry API...
How to check cxf-core jar version?
Issue How can users check the cxf-core jar version in DXP?  Environment Liferay DXP [All versions/updates] Resolution To verify the version of org.apache.cxf, use the following command in the gogo shell: ss -s |...
Workflow Related APIs
Issue Retrieve all task details associated with a specific user via API. Retrieve task details filtered by workflow and user via API. Perform actions such as 'Approve' and 'Reject' on tasks via API. Environment...
Deploy Liferay DXP 7.4 as a Service
Issue How do you deploy Liferay as a service in Linux? Environment Liferay DXP 7.4 Quarterly Release Prerequisites Need Root user level. Resolution Create liferay.service file as root user in...
Using properties dl.file.max.size and dl.file.extensions in Liferay DXP 7.4
Issue Guidance on Setting Maximum File Upload Size and Allowed Extensions in Liferay 7.4 with the help of dl.file.max.size and dl.file.extensions properties. Environment Liferay DXP 7.4 Resolution In Liferay DXP...
How to check for errors while mass importing users with batch API?
Issue We are using http://localhost:8080/o/headless-admin-user/v1.0/user-accounts/batch to mass import users. We receive a HTTP code 202 in return indicating that the request is sent and being processed. How to check...
How to setup custom error page in Nginx webserver
Issue NOTE: Liferay Support does not recommend or endorse specific third-party products over others. The information provided about products not created by Liferay is for reference purposes only, and any...
Liferay logs Timezone
Issue How do change the timezone displayed in the Liferay log files without changing the JVM time zone? Environment Liferay DXP 7.4 [All updates] Liferay Quarterly Release Resolution Get a copy of...
How to implement Bar Chart in DXP?
Issue How to display dynamic data on bar and graph charts in Liferay DXP? Environment Liferay DXP 7.4 Resolution NOTE: The following resolution requires customization and should only be implemented at the...
Obsolete "dl.file.indexing.interval" Portal Property
Issue Migrating from Liferay 7.3 to 7.4, I noticed that the dl.file.indexing.interval property no longer works in 7.4. This is the error I'm getting: ERROR [main][VerifyProperties:172] Portal property...
How to determine the master node?
Issue I am running a clustered environment, and I would like to know whether the node I am currently on is the master node. Environment DXP 7.0+ Resolution Liferay doesn't have a fixed “master” node in the...
Accessing the virtual instance over another machine without using the internet
Issue How to access the virtual instance (of Liferay Server running on Machine A) over Machine B without using the internet? Environment Liferay DXP 7.4 Resolution First, check the domain configured for...
Weblogic 14.1.1 + Liferay Installation
NOTE: Liferay Support does not recommend or endorse specific third-party products over others. The information provided about products not created by Liferay is for reference purposes only, and any implementation...
Is it possible to disable the /combo/ present when loading the sites?
Issue When loading the sites, we always notice a /combo/ component at the beginning. Is it possible to disable it? Environment All environments Resolution The combo requests will disappear if you use the property...
How can I check the progress of an upgrade?
Issue Is there a way to check the progress of an upgrade while it is still happening?  Environment Quarterly Release 2024.Q1 2023.Q4 2023.Q3 DXP 7.4 DXP 7.3 DXP 7.2 DXP 7.1 Resolution The simplest way to do this would be...
Logs rotation based on size in Liferay DXP 7.4
Issue Configuring log rotation for logs based on the size. Environment Liferay DXP 7.4 Resolution The logs can be rotated based on size by making a small adjustment in the portal-log4j.xml file. Extract...
Are The Layout Parallel Render Portal Properties Deprecated in Liferay 7.3?
Issue Migrating from Liferay 7.2 to Liferay 7.4, you may notice that the layout parallel rendering properties have been deprecated. The following logging during the upgrade can be seen noting that the properties are...
How to disable error messages?
Issue How to disable 'Your Request failed to complete' error messages? Environment Liferay DXP 7.4 Resolution Please note: The following information involves customizations or implementation ideas that are beyond...
ConfigurationBeanDeclaration related errors
Issue While upgrading from 7.3 to 2024.Q1, we receive errors regarding ConfigurationBeanDeclaration. Environment The information in this article is relevant if you have any implementations with...
Audit portlet only available for Administrators
Issue After upgrading to U78+ you might encounter a behavior where the Audit portlet is only available for Administrators, whereas before U78 you could create a regular role with access to it The reason behind this...
API to update custom field settings
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue...
How to Have the Deploy Folder in the initcontainer Persist to be Available to the Container
Issue Is there a way for the deploy folder created in the initcontainer to persist and be available to the container? Environment DXP 7.4 Resolution A potential solution would be to use a shared volume between the...
How to configure asynchronous logging in Liferay
Issue How can I configure Log4j to use asynchronous logging in Liferay? Environment DXP 7.2 DXP 7.3 DXP 7.4 Quarterly Releases Resolution DXP 7.2 and DXP 7.3 NOTE: The following resolution requires customization...
How to run Liferay Tomcat as a Windows Service?
Issue We are currently running the tomcat from the command line, but I would like to know how to run it as a Windows service. Environment DXP 7.3+ Resolution Create a clean Tomcat Apache service to make sure it...
Configuring CXF Endpoints and Soap Extenders programmatically from 2024.q1
Issue It is created a customization SOAP extension module following the next documentation to create new endpoint. The component has inside in folder resources → configuration next files:...
How to get Javadocs for Quarterly Release or DXP Updates?
Issue Require Javadocs, let's say for DXP 2025.Q2 Environment Liferay DXP [any update/Quarterly Release] Resolution Liferay has Javadocs at Learn (see here). This stores the latest Javadocs. If you are looking for...
Set up the Apache web server and connect it to Tomcat-based Liferay using mod_jk
Issue How can we install an apache web server and connect the same with the application server over a Linux-based operating system? Environment Liferay DXP 7.4 Resolution The following are the steps that...