Search Results

Knowledge Base 1356
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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 DXP [all versions] Resolution As per the compatibility matrix, Liferay DXP Self...
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 portal-ext.properties it still allows them to upload files with these extensions.   ...
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 the site level by design, there's a way to apply a global...
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 beta feature and add a frame-ancestors configuration, it will be applied...
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 configuration changes via the Web Server (Nginx) level. Below is the...
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...
How to retrieve Collection elements by the Collection's name using headless APIs
Issue Using Liferay's headless-delivery API, is it possible retrieve the elements of a Collection (called a ContentSet in APIs) based on the Collection's name? Environment Liferay DXP 2026.Q1+ Resolution Headless Delivery APIs at 2026.q1.0+ can retrieve a collection's elements by its key...
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]...

Showing 861 to 880 of 1,355 entries.