Search Results

Knowledge Base 1400
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Headless Delivery API - Filtering structured content
Issue Making use of our headless delivery API you can retrieve all your web contents but sometimes we might want to filter them according to different business requirements, like getting only those web contents...
What permissions are needed to edit content pages?
Issue What permissions does a role need to edit content pages, including adding, configuring and deleting widgets and fragments in it? Environment Liferay DXP 7.2, 7.3 Resolution There are a handful of basic...
How to obtain the binary logs?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue How can we access the database-related binary...
When submitting forms, is it possible to send email notifications to multiple users?
Issue Is it possible to send notifications to multiple email addresses when a user submits a form? Environment DXP 7.0 DXP 7.1 DXP 7.2 DXP 7.3 Resolution Yes, when enabling Form notifications, an administrator can send...
Custom Product Content Renderer
Issue How to customize the product card design? Environment Liferay DXP 7.3 Commerce 3.0 Resolution Please note: The following information involves customizations or implementation ideas that are beyond the scope...
Why is the CKEditor toolbar smaller in 7.3 and 7.4?
Issue The CKEditor toolbar has been simplified from DXP 7.3: I would like to restore it to its DXP 7.2 functionality: Environment DXP 7.3 DXP 7.4 Resolution CKEditor was simplified for 7.3, as documented...
Unable to add multiple questions in one Poll
Issue Is it possible to add multiple questions in one Poll? Environment Liferay DXP 7.2 Resolution To add multiple questions in one Poll is not currently supported in Liferay DXP 7.2. It can be achieved by adding two...
How do I change the default permissions assigned automatically to guests and site members when creating a new document folder?
Issue By default, when from the control panel someone creates a folder inside the document library the default permission is that everyone can see the folder (Guest User) and also that site member has other permissions to...
Basic setup and tools to debug Elasticsearch queries
This article is a basic guide on how to view the queries Liferay produces and provide ways that developers can understand the results retrieved from Elasticsearch. These recommendations assume you are working in a...
What happened to the taglib on 7.1?
Issue Using the <liferay-ui:calendar /> taglib on 7.1 will no longer work as it used to do on Portal 6.2 or Liferay DXP 7.0 Environment Liferay DXP 7.1+ Resolution <liferay-ui:calendar /> was deprecated as of...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 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...
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...
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...
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...
How to add security, authentication to my REST service?
Issue We developed a REST service and it works. But we need endpoint security. At the moment it is available without any credentials. We do not want to give access to a REST Web service without credentials.  How can...
I want to hide the password expiration warning message.
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...
Setting Site Member Role Permissions
Issue How can I change/edit permissions for a Site Member Role? Environment Liferay 7.0 Liferay 7.1 Resolution Permissions for the Site Member Role can be found at: Control Panel > Users > Roles > Site Roles Tab >...
Logs Rotation
Issue If you want to rotate logs for every 12 hours in a day(2 log files to be created each day) Environment Liferay 6.2 Resolution The logs can be rotated for every 12 hours and it can be achieved through a very...
Disabling the WebDAV URL from Portal through portal-ext.properties
Issue If any of the users in the portal knows the WebDAV URL, they can configure the same at their end and they can manage the Document Libraries from their local machine itself. Hence, how can the WebDAV...
Removing Product Information Displayed in the HTTP Headers
Issue Customers might want to remove the product information found in the HTTP Headers and in the console logs for security reasons. The information displays: Liferay-Portal: Liferay Digital Experience Platform 7.0.10...
How to generate the crt and key of a certificate on base64 for a custom domain on 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). Issue As stated on this documentation you'll need to add both the...
How to delete page scope
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...