Search Results

Knowledge Base 1393
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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 Liferay DXP 7.4 Liferay DXP Quarterly Releases Resolution You can control...
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 portal-ext.properties in both bundles Startup the first local bundle with default port...
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 2023.Q4.0, Liferay provides two DELETE endpoints for removing product...
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 your team. Liferay Support will not be able to assist with designing or...
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 or pending web content articles based on a structure field ( Feature Request )....
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 combination of the portlet name and the instance ID (if applicable). It...
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 restored from the Recycle Bin, but we still prefer having a prompt first Environment...
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 Apache web server. Liferay DXP itself does not provide this functionality. Use...
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 should we proceed?  Environment DXP Quarterly Releases (7.4)...
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 be implemented at the discretion of your team. Liferay Support will not...
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 (https://help.liferay.com/hc/en-us/articles/360018162831-Using-OSGi-Services-from-EXT-Plugins), which has been removed in Liferay 7.4.   This article...
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 | grep org.apache.cxf.  The output should be as follows: 1025 ACTIVE...
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 Liferay DXP 7.4+ Quarterly Release 2023.Q3 2023.Q4 2024.Q1 2024.Q2 2024.Q3...
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 /usr/lib/systemd/system/ Paste the below content in liferay.service file [Unit]...
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 7.4, the properties dl.file.max.size and dl.file.extensions have been...
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 for possible errors during the process?   Environment Quarterly...
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 implementation of these principles will be at your team's discretion. The following...
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 the portal-log4j.xml file by extracting it from the portal-impl.jarfrom...
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 discretion of your team. Liferay Support will not be able to assist with designing...
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 "dl.file.indexing.interval" is obsolete Environment Liferay DXP 7.4 Resolution...
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 traditional sense. Instead, it uses a distributed architecture where nodes...
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 your virtual instance by navigating to Control Panel > Configuration > Virtual...
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 of these principles will be at your team's discretion. Prerequisites:...
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 javascript.fast.load=false. However, this will be counterproductive, as it...
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 to tail the upgrade log, which is typically located in...
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 portal-impl.jar from /tomcat-9.0.73/webapps/ROOT/WEB-INF/shielded-container-lib/ and...
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 obsolete:  ERROR [main][VerifyProperties:163] Portal property...
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 the scope of Liferay Support.  Please exercise appropriate discretion in...
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 ConfigurationBeanDeclaration and you are upgrading to a Quarterly Release. Resolution The...
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 change is that the behavior where any regular Role could access the Audit...
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 Is there an API to update custom field settings? Environment 7.4+...
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 containers. You can use volumes in init containers in Kubernetes. Volumes...
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 and should only be implemented at the discretion of your team. Liferay...
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 installs correctly 1. Create a sample directory like...
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 a specific release, go to https://releases.liferay.com/dxp/, find your...
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 will help you set up the Apache web server and connect it to Tomcat-based Liferay...
Where can I extract the tcp.xml file in Quarterly Releases?
Issue Prior to Quarterly Releases, thetcp.xml file could be extracted from $LIFERAY.HOME/osgi/marketplace/Liferay Foundation-Liferay Portal-Impl.lpkg/com . liferay . portal . cluster . multiple - [version]. jar/lib / jgroups - [version]. Final . jar/tcp.xml, however, .lpkg files have now...
Is it Possible to Access the Entire Document Hierarchy Page with API?
Issue How to access the entire document hierarchy page using API? Environment All environments Resolution By default, the GET Documents call in the Liferay API restricts access to the root page, preventing retrieval of the complete document hierarchy. To access the entire document...
How to print a query string with parameter values
Issue When the property hibernate.show_sql=true is set, the SQL statements executed are shown in the system log, but with bind variables. For example: Hibernate: SELECT COUNT(*) AS col_0_0_ FROM BlogsEntry blogsentry0_ WHERE (blogsentry0_.displayDate < ?) AND (blogsentry0_.status = ?)...
How to change Liferay Private default friendly URL
Issue I would like to know how to change the Private default friendly URL from "/group" to "/private" on Liferay DXP bundled with Tomcat. Environment Liferay DXP 7.3 Tomcat 9.0 Resolution Add the following property to portal-ext.properties file:...
Custom login page instead of default sign-in portlet
Issue Need to have a custom login page instead of a default sign-in portlet when a user tries to access a private page without being logged in. The private and public pages are not having Guest user’s VIEW permission.   Environment Liferay DXP 7.4 Resolution The following are the steps...
How to write some logs to a different log file
Issue We would like to move a trace from the main log file to a separate log file. Environment DXP 7.3+ Quarterly Release Resolution We can use a portal-log4j-ext.xml file to to add a new appender where we specify the name of the additional log file: 1. Edit portal-log4j-ext.xml. 2. Add...
How to disable NetVibes and Google Gadget in widget's sharing options
Issue Netvibes and Google Gadget widget sharing options could reveal some information. Is it possible to disable them? Environment Liferay DXP 7.2 Resolution The url of those servlets are managed by this properties in portal.properties file, you can modify them in order to get a 404 when...
Need to clone a Production environment to a lower one
Issue We had some issues upgrading our Production environment about a year ago and had to roll it back. Our Non Production and Pre-production environments remained on the newer version of Liferay (at the time) and we haven't attempted an upgrade since. We need to clone our Production...
How can I tell if a portlet is being used?
Issue I would like to know if a portlet is being used or not in my Liferay instance Our Liferay instance has many virtual hosts, each virtual host has many sites, each site with many pages We cannot do the check manually by navigating trough all the page to check if the portlet is added...
Configure Custom 404 error Page on WebLogic Server
Issue How to redirect users to a Custom Page for Error Code 404 when Liferay DXP is deployed on the WebLogic Server? Environment Liferay DXP 7.4 Resolution Create a 404 Custom Error page (e.g mypage.html) inside...
com.liferay.petra.content.ContentUtil is not available in Liferay DXP
Issue After upgrading Liferay DXP 7.3 to DXP 7.4, the below class is not available in DXP 7.4 but was present in DXP 7.3. Is there any alternative for this? com.liferay.petra.content.ContentUtil Environment Liferay DXP 7.4 Resolution Petra-content has one class, ContentUtil, which is...
Upgrade Liferay From 7.4 to Quarterly Release
Issue Please provide details on how we can upgrade from 7.4 Update 20 to Quarterly Release 2023.Q3.2. Environment Liferay 7.4 Update 20, Liferay 2023.Q3.2 Resolution Replace the content in {JBoss_Home}/standalone/deployments/ROOT.war with content of liferay-dxp-2023.q3.2-1698775649.war....
Can I change a single configuration value with the help of a .config file?
Issue I would like to change just a single configuration value with the help of a .config file. I would like to know if it is possible to enter this single value in my .config file or whether the file has to contain all configurations.   Environment Liferay DXP 7.0+   Resolution Yes, it...
Which Liferay version should I use in gradle.properties for the 2023.Q3 Quarterly Release?
Issue Which version do I need to use for the liferay.workspace.product= property in gradle.properties for Liferay Workspace? Environment Liferay Workspace Liferay DXP 2023.Q3 Resolution As of Oct. 20, for the time being, the noted workaround will be to continue to use dxp-7.4-u92 in the...
Enabling agent and adding packages in Bootdelegation properties to monitor Liferay application
Issue Enable Java agent (AppDynamics) on Liferay for monitoring the Liferay application. Required to add the packages from the agent to the module.framework.properties.org.osgi.framework.bootdelegation property. Environment Liferay DXP 7.2 Resolution Enable the agent inside of the OSGi...
Deploying DXP 7.4 on JBoss EAP 7.4.0
Issue This article outlined the detailed steps to deploy Liferay DXP 7.4 on JBoss EAP. Environment Liferay DXP 7.4 JBoss EAP 7.4.0 Resolution JBoss_Home/Liferay_Home contains jboss-eap-7.4 folder which is shown below image. Download the below files from the Help Center: DXP WAR file OSGi...
Configure New Relic 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: New Relic is a third party monitoring tool, use this documentation with caution. If you need more information you can check New...
GZIP filter disabled by default
Issue GZIP filter is not enabled after upgrading from DXP 7.0. Environment DXP 7.0, 7.1, 7.2, 7.3, 7.4 Resolution This functionality has been disabled due to the potential security risk over HTTPS.  GZIP compression can be re-enabled with portal-ext.properties file:...
After upgrading 7.4, a new Tunnel Authentication entry is created
Issue After upgrading to 7.4 from previous versions or Updates, there is a new /api/liferay/do entry in Tunnel Authentication configuration (Control Panel > System Settings > API authentication > Tunnel Authentication). If we already have a custom configuration, after the upgrade, we can...
How to modify web content by editing database field
Issue On 7.4 there is no content field on JournalArticle table, so you can't search here this content or modify it quickly. Environment DXP 7.4 Resolution Knowing that on DXP 7.4 content field was removed from JournalArticle table, now this is generated dynamically in the method...
Manually Installing Liferay Connector to SAML 2.0
Issue We need to manually install and/or update the Liferay Connector to SAML 2.0. This is primarily done for security reasons, such as a Liferay bundle being firewalled off the internet.  Environment DXP 7.3 Resolution Steps to follow to manually install the Liferay Connector to SAML...
The custom scheduler is not working after upgrading from 7.4 U62 to U90
Issue We have written a scheduler which works perfectly in 7.4 U62, but when we updated our bundle to 7.4 U90, it is not working.    Environment Liferay DXP 7.4   Resolution Due to the changes by LPS-176754, please adapt your code to make it work in 7.4 U90. Below is a guideline you can...
Change the trace level for code_jsp
Issue How to change the trace level for the following 'WARN', code-404: WARN  [default task-2629][code_jsp:154] {code="404", msg="Not Found", uri=/code.png Environment Liferay DXP 7.3 Resolution The user can change the trace level for 404 not found, by changing the log level of the below...

Showing 1,081 to 1,140 of 1,392 entries.