Search Results

Knowledge Base 1403
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
I cannot disable the execution of Groovy scripts in Server Administration
Issue Despite disabling Groovy scripting in System Settings > Security section > Script Management, Administrators are still able to execute Groovy scripts in the Server Administration > Script tab. Environment...
Is there an alternative to the 'Liferay.Util.selectEntity' function?
Issue After upgrading to 2024.Q2+, Liferay.Util.selectEntity does not work anymore. It has been removed, according to the 2024.Q2 Breaking Changes. Is there any replacement for it? Environment Liferay DXP 2024.Q2+...
How to filter web content by structure field with headless APIs
Issue Create a custom structure and use a headless API to filter web content based on specific fields within that structure Environment Quarterly Releases DXP 7.4 DXP 7.3 Resolution The following...
How to add a comment in Page Comments widget as Guest?
Issue How to add a comment in Page Comments widget as Guest? Environment Liferay DXP 7.4 Resolution 0.) Use a vanilla Liferay 7.4 with the latest quarterly release. 1.) Go to Design --> Page Templates -->...
How to set up client extension to be used in multiple On-Premise instances
Issue You need to deploy a custom client extension to specific instances. What are the next steps? Environment DXP 7.4 Quarterly Releases. On-Premise, Local environment and PaaS Resolution A custom...
Create journal articles (web contents) programmatically
Issue I would like to know an easy way to create web contents programmatically. Environment Liferay DXP 2023.Q4 Resolution NOTE: The following resolution requires customization and should only be implemented at the...
How to remove Glowroot from the environment in Liferay DXP 7.3
Issue Steps to remove Glowroot from lower and production environment in Liferay Environment Liferay DXP 7.3 Resolution Stop the server. Kindly take a backup of the Glowroot folder. Remove the -javaagent:[path of...
Character replacement in web content with CKEditor
Issue When modifying the text entered in a text area of a web content in edit mode and publishing it, line breaks are automatically added in the generated HTML. After publishing, the <br> tags are automatically...
How to redirect users accessing www.mydomain.com to mydomain.com in my PaaS environment?
Issue We need to implement a rewrite rule that change the URL in a client request from www.mydomain.com to mydomain.com. How should we proceed to configure this in our PaaS environment? Environment Liferay PaaS...
Asset Publisher filtering by structure shows web content and folders
Issue In Liferay DXP 7.3, when filtering content in an Asset Publisher by structure, only the web content with that structure are shown In Liferay DXP 7.4, doing the same filtering will also show the folders that...
globalThis.process?.argv object contains an array set
Issue The globalThis.process?.argv object contains an array set in DXP 7.3, but in the latest release 2024.Q2.6, this is null or undefined.  Environment Liferay DXP [all versions] Resolution In this scenario,...
How to run Gradle Build for offline Environment?
Issue How to build the Gradle workspace offline? Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution The below points cannot be consider official solutions. Please take these as simple suggestions that...
Getting the value chosen by user in a 'Select From List' field
Issue How to get the value from the options added in a 'Select From List' field? We are getting the reference (i.e. ["Option37425674"]) instead of the value chosen by the user. Environment Quarterly Release...
How to setup Kibana 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: Liferay Support does not recommend or endorse specific...
Create custom API applications in Liferay
Issue Is there any way to create custom API applications without code? Environment Liferay DXP 2023.Q4. Resolution Liferay has created a new application to help developers build APIs based on custom objects in a...
If PaaS Environment Hangs after Upgrade Deployment Should we Rollback?
Issue During an update we observed an error on startup and so decided to rollback from 5.X to a 4.X version. However, when we tried to restart services the system would not recover, hanging indefinitely. Further, the...
Download Liferay Quarterly Releases Using the Linux Command Line
Issue I want to download Liferay using the Linux command line rather than going through a web browser. Environment Liferay DXP Quarterly Releases Resolution Liferay offers a release directory that can be downloaded...
Virtual product order status and tax
Issue Require the following with the virtual product: No need for user personal data and would like to remove it for checkout. The order status should moved to completed status directly after the payment....
Can we hide the External Video Shortcut option?
Issue We want to hide the above-mentioned option from the Documents and media because we don't want our users to be able to add videos, can we do it somehow? Environment Liferay DXP 7.4+ Resolution It is...
Access revoked after task assignment to another user
Issue Once the user assigns the task to another user, then the previous user loses access to that task and is unable to see that in the 'Assigned to my roles' tab of 'My workflow Tasks'. Steps to reproduce: 1....
Unable to see the list of assignees for Site Roles, Organization Roles, Asset Library Roles and Account Roles
Issue I would like to access a list of Roles and Assignees for "Site Roles", "Organization Roles", "Asset Library Roles", and "Account Roles" without having to go through each individual account to get...
Captcha does not appear on each submission attempt in the form
Issue Create a form by enabling the CAPTCHA and submit it for the first time, try to submit it again, then the CAPTCHA will not appear. Steps to Reproduce: 1. Start the server. 2. Navigate to the Site Menu >...
How to define user and email notifications for each asset
Issue I want to disable email notifications for blogs How to configure notifications for each asset to receive them by email or as user notifications. Environment DXP 7.4 Resolution It is possible to choose the...
How do you create a role that allows a user to edit details of other users?
Note, this is just one method and can be tailored to different preferences. Issue How do you create a role that can edit the details of other users? Like email address, etc. How do you create and assign a...
Enable/Disable Multi-Factor Authentication
Issue If there is any problem related with the way two-factor is working or do you simply want to deactivate it for some reason. Environment Liferay DXP 7.4 2023 Q1 - 2023 Q4 2024 Q1 Resolution There are two...
How to properly scale up Search nodes?
Issue How to properly scale up Search nodes instead of deleting the Search service and deploying it again? Environment Liferay PaaS Liferay DXP 7.4+ Resolution Following the Liferay Cloud Upgrading to a...
Add a flag icon for language in web content
Issue Need to add language flag icon in web content Environment Liferay DXP 7.4 Resolution Please note: The following information involves customizations or implementation ideas that are beyond the scope of...
ModelSearchRegistrarHelper class mentioned in Search Service Registration article is missing
Issue I tried to follow this Search Service Registration article to perform indexing my custom service-builder object, but there is no ModelSearchRegistrarHelper class available, what should I do now? Resolution Remove...
Microsoft Azure Key Vault with Liferay DB
Issue Can we use Azure Key Vault with DB setup configuration in Liferay instead of having it in plain text in the properties file? Is there any way to configure the DB in Liferay using Azure Key Vault? How we can use...
No external access to database
Issue We need to make some modifications to the database, and therefore we have opened port 3306 of the database to be able to access it from outside, just as we have done many other times. However, this time we...
How to increase the limit of articles per page in Blogs?
Issue I would like to know if it is possible to increase the default Maximum Items to Display in the Blogs Widget.  Environment Liferay DXP 7.4 Resolution You can modify the default blogs.entry.page.delta.values...
Adding new entity to an already deployed service builder module fails
Issue The issue occurs while updating/adding a new column to the existing database custom table i.e. using Service Builder to add another entity in an existing module. Environment Liferay Developer Studio Liferay DXP...
How to display the results when searching different Elasticsearch indices
Issue With the Low Level Search Options feature, you are able to search alternate indices by performing a federated search. For regular searches (Liferay results), you can use SearchResultSummaryDisplayContex to get...
Is it Possible to enable the “Learning to Rank” feature in Liferay Paas or Saas?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue I would like to use the Learning to Rank feature in my...
Retrieve display page template configured in web content article
Issue The goal is to retrieve, via Liferay's API, when a web content article is associated with a Display Page Template. Environment Liferay DXP 7.4+ Resolution Attached is a Groovy script as an example, through which...
Including custom language keys in a custom theme
Issue Is it possible to include language keys from a language module in a custom theme? Environment Liferay DXP 7.0, 7.1, 7.2, 7.3, 7.4. Quarterly Releases. Resolution At this moment, there is no way to...
'liferay-ddm' taglib not working for Web contents in 7.4+
Issue We have some custom developments that use liferay-ddm taglib. After an upgrade to 7.4+, that taglib does not work. Environment Liferay DXP 7.4+ Resolution Starting in 7.4, Web Contents stopped using the DDM...
Whitelisting IPs in Liferay Cloud
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue You need to enable an IP or set of IP addresses to access your...
Using quarterly release tags in my workspace
Issue I would like to use the quarterly release tags for liferay.workspace.product and liferay.workspace.target.platform.version properties in the gradle.properties file. e.g. liferay.workspace.product=dxp-2024.q1.1...
How can I send notifications to an specific role or user programmatically using workflows
Issue How can I assign workflow tasks to multiple users by Scripted Assignment, but not by assigning tasks to a role? Environment Quarterly releases 7.4 7.3 Resolution One common requirement is to...