Search Results

Knowledge Base 1413
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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...