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...

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