Search Results

Knowledge Base 1395
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
How to add application/ld+json in specific page
Issue The user wants to add an application/Id+json script on a specific page. Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution Create a fragment from Design -> Fragments Paste the below script, just for reference: <script type="application/ld+json"> { "@context":...
How to send Form submission notification for Guest user
Issue Form submission notifications usually are meant to be sent to already created users. Is there a way to send form submission notifications for a Guest user? Environment Liferay DXP 7.4+ Resolution Yes, there is. It's not a direct approach, and several steps must be made in order to...
Unable to display icons in Table View
Issue I'm unable to display any icons next to each title in my Table View. Environment Liferay DXP 7.4 Resolution Since this method was deprecated in Liferay DXP 7.0, please consider the following alternatives: Make the url to the icon explicit. Use <liferay-ui:icon> or...
Which Liferay version should be used in gradle.properties for the 2024.Q1.1 version?
Issue Which Liferay version should be used in gradle.properties for DXP version 2024.Q1.1 Environment Liferay DXP Resolution 1. Looking at the release JSON here, the property should be liferay.workspace.product=dxp-2024.q1.1 2. Similarly, the additional properties should be:...
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 endpoint should be used getContentStructureStructuredContentsPage :...
Elasticsearch as Service
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. Issue How to deploy...
Is there a way for users to visit our site using a custom domain without the search engines show the contents with the link?
Issue The following article suggests that we cannot remove the default domains: https://help.liferay.com/hc/en-us/articles/21806552291981-Is-it-possible-to-remove-the-default-domains-lfr-cloud-in-Liferay-PaaS, but we do not want the search engines to show their contents with the link to...
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 --> Display Page Templates. 2.) Create a display-page-template with content type "Web...
Is ManagementBarFilterItem deprecated in 7.4?
Issue Currently we trying to upgrade from Liferay 7.0 to 7.4u112. We are currently in progress of code upgrade of one of our custom modules. We are facing one issue in one of our importing statement as mentioned below:- "The import...
How to resolve multiple Iframe authentication requests in a clustered environment
Issue After including an iframe link in a third-party application for our clustered Liferay environment (and already setting the appropriate X-Frame-Options), users are experiencing repeated authentication prompts even though they are already logged into Liferay. In the browser console,...
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 element client extension will be used for this example. Please check Liferay source code...
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 discretion of your team. Liferay Support will not be able to assist with...
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 glowroot jar file] from the [Liferay home]/tomcat/bin/setenv.sh file. Please...
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 replaced with <p> tags. Environment Liferay 7.2 Resolution This would be the...
How can I determine the Liferay version in our SaaS environment?
Issue Where can I find the exact Liferay version deployed in our SaaS environment? Environment Liferay SaaS Resolution Starting with DXP 2024.Q1.1 Quarterly Release, you can find the exact Liferay version by going to: Menu → Control Panel → CONFIGURATION → Instance Settings Additional...
Font Awesome not included in Liferay product
Issue Font awesome icons are not available from version 2024.Q3 and is not possible to Enable it from System Settings.  Trying to add an html with some font awesome icons will not be rendered, for example:  <div class="col-2 text-right"><span class="icon-download-alt"></span></div>...
Can default landing pages be based on user group membership?
Issue I would like to set default landing pages based on user group membership so that I can redirect users to different pages on login based on their user group membership. Environment Quarterly Releases Resolution This is not currently possible, but there is a feature request open at...
Block the traffic based on the regions
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Is it possible to block the request on the site based on the regions? Environment Liferay PaaS Resolution NOTE: The following...
Add Bulk products to the Cart
Issue Is there a way to add Bulk products to the cart using the Liferay API? Environment Liferay DXP 7.4 [all versions] Quarterly Release  Commerce 4.0 Resolution Liferay provides an API, from which it will help to add bulk products to the cart. Liferay API:...
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 Resolution WARNING! The below solution represents only a hint. Portal...
Is it possible to implement branching paths using Liferay Forms where one path does not require form submission?
Issue In some use cases, it may be desired for a form to branch into a path that does not require a form submission, based on the user's selection  For example: If a user has submitted form in the past, they may not need to resubmit again Is this behavior possible through out-of-the-box...
Multi-step form using react client extension
Issue For a multi-step form, users typically use separate JSPs to handle redirection based on conditions. Now, there is a requirement to achieve the same functionality by using React. Environment Liferay DXP 2023.Q4 Resolution NOTE: The following resolution requires customization and...
Embedding a custom Portlet into a Liferay Web Content Article
Issue How to embed a custom MVC portlet into Liferay Web Content Article Environment Liferay DXP 7.4 Resolution Liferay DXP offers a powerful Taglib with a special tag <@liferay_portlet["runtime"]>  , which allows the embedding of a specific MVC portlet directly into a Web Content...
Unable to Access Liferay Javadocs from docs.liferay.com
Issue I'm trying to access Javadocs such as https://docs.liferay.com/portal/7.4-ga1/javadocs/portal-kernel/. However I'm getting redirected to https://learn.liferay.com/w/reference/index. Environment All versions Resolution As of June 2025, we have decommissioned docs.liferay.com. For...
Disable AI Creator button in CKEditor.
Issue Starting from version 2023.Q4+, when creating web content that includes a 'Rich Text' field, the CKEditor offers a new 'AI Creator' button. This article provides the necessary configuration to hide this button in the CKEditor for that web content field. Environment 2023.Q4+...
Rejection comment not visible for web content in workflow
Issue While using a single approver workflow for web content, when a reviewer rejects the content and provides comments, these rejection comments are not being communicated to the asset creator. Hence, this creates a challenge for the asset creator to understand the reason behind the...
Installing the Liferay Theme Generator for Liferay DXP 7.0
Issue How can we install the Liferay Theme Generator for creating themes in Liferay DXP 7.0? Environment Liferay DXP 7.0 Resolution The Liferay Theme Generator allows developers to quickly set up, develop, and deploy themes with ease by leveraging popular libraries like Gulp and Yeoman....
Deploying Client Extensions to multiple Virtual Instances
This feature is available with Liferay Workspace version 11.0.0+ This feature is only meant for local development when deploying to a local bundle. It is not intended for building client extensions that will be uploaded to a Liferay SaaS instance via lcp deploy A client extension LUFFA...
Screen name should not be required when Autogenerate User Screen Names is enabled
Issue When enabling Autogenerate User Screen Names, the Object Action still mandates a Screen Name field, which is an inconsistency. The aforementioned behavior can be reproduced by doing the following steps: Go to Instance Settings → Users → Fields Enable Autogenerate User Screen Names...
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 contain these web content instead.   Environment Liferay DXP 7.3 Liferay...
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, Liferay can't do much about this since that globalThis.process?.argv was an...
How to change the . (dot) characters to hyphens (-) in Web Content article friendly URLs?
Issue We have several Web Content articles where the friendly URL contains some dots and we would like to have hyphens instead. Changing them manually is not only hard but we would also like to implement a workflow to make sure that they are replaced with hyphens in the future....
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 could be verified as workarounds: Consider setting up an internal repository like...
How to choose a default layout template
Issue We wonder if it is possible to configure a default layout to be chosen when a new widget  page is being created. Normally we do not use OOTB Liferay layouts, using our own developments instead (the red ones). Is there any way to choose our own layouts? Environment Liferay Portal...
Listing URL-s from Sitemap.xml
Issue Does Liferay have any tools or scripts which will allow us to get a list of all the URLs which are included in the full site map? Additional Information Change the Sitemap format in Liferay DXP: By default, the sitemap is spread across multiple pages for better performance,...
Why are Guest users able to edit Rich Text fields within a form?
Issue We created a form with a Rich Text field, but we see that guest users can edit the content in the Rich Text field (including the source). How do I disable the user/guest from being about to edit the text in this form field? We do not want guests to have access to the editor....
Multi-Select Option Missing from Translation Interface
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 implementing customizations. Issue Web Content Structure is incomplete when using the Web Content Translation...
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 Resolution Following example can be used as reference (it is a Widget Template of...
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 third-party products over others. The information provided about products not...
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 no-code UI. This new feature allows users to define the entire structure of...
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 backup list became inaccessible. Eventually the matter resolved itself,...
Frontend taglib removed: 'liferay-frontend:html-vertical-card'
Issue After upgrading to 7.4+, we noticed that some frontend taglibs have been removed, such as liferay-frontend:html-vertical-card. Is there any replacement for it? Environment Upgrades to DXP 7.4+ Resolution As per LPS-158461, obsolete fronted taglibs were removed, including...
Is it possible to use a hotfix when building my custom code?
Issue I have been provided with a hotfix, and I want to compile my custom code using that hotfix from my Liferay Workspace. Environment Any Liferay DXP version Liferay Developer Tools Resolution There is not an easy way to achieve that. In order to be able to use patched artifacts as...
A simple example and key factors to check when testing custom OAuth 2.0 applications
Issue You have created an OAuth 2.0 application and would like to set up the minimum configuration to be able to test it. This article provides a simple example that could be adapted to your needs. Environment Liferay DXP 7.3, 7.4, Quarterly Releases Oauth 2 Custom App 'Client Secret...
How to programmatically add a form entry with API?
Issue I am currently working with a Liferay form. I am attempting to submit a new record to this form using the /ddm.ddmforminstancerecord/add-form-instance-record API via JSON Web Services (JSONWS). This API requires a parameter named ddmFormValues, which needs to be passed as a JSON...
Is it possible to filter the Account Selector search results to exclude fields?
Issue I would like to add a filter to the Account Selector fragment so that it excludes selected matching fields from the search results. For example, I would like to exclude any results with Account IDs that match the numbers that I'm searching, so that I only get Account Names that...
How to create a read-only field in a form
Issue When you are creating a form, sometimes you want to create a field that is read-only because, for example, it is automatically populated by taking information from an API or a database, and you don't want the user to modify it. From Liferay, it was thought to introduce this option,...
Unable to upload blog images after upgrading to 2024.Q1.1
Issue After upgrading to 2024.Q1.1, I no longer have the option to upload blog images within a blog post. This was implemented due to a potential security vulnerability with actors being able to upload offensive or malicious images that would remain publicly visible.  Environment...
How to determine when a certain ddmfieldattribute record was created?
Issue I am  writing a Groovy script to remove certain sensitive data created before a specific date, so that the Liferay database can be shared with support . One of the tables that contains sensitive data is DDMFieldAttribute. As this table has no createDate column, it's not clear how I...
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. Environment Liferay DXP 7.4  Commerce 4.0 Resolution  NOTE: The following...
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 not possible to hide the external video shortcut for regular users with the current...
Override default freemarker error template
Issue You need to change the default behavior of the default freemarker template showing the entire error code and want to show a different template instead Environment Liferay DXP 7.2+ Resolution Even though you’re using the RETHROW option an error message shows whenever the template...
Changing the default Mail Domain in DXP
Issue In Liferay DXP, is it possible to configure the default email domain used during user creation? We'd like new users to have email addresses ending in "@example.com" instead of "@liferay.com". Resolution Go to your Control Panel. Navigate to Instance Settings. Click on "Instance...
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. Create one regular role. 2. Create three users and assign that particular...
Translating static texts with Fragments
Issue Translating static text with the help of fragments and language overrides Environment Liferay DXP 7.4 [all updates] Liferay DXP 2023.Q1 Liferay DXP 2024.Q1 Resolution Step 1: a) Navigate to Applications Menu -> Control Panel -> and click Instance Setting (under the Configuration...
Permissions assignments only save the most recently viewed page's selections
Issue When assigning permissions to Documents or Web Content assets, after selecting permissions for users on the first page, navigating to the second page, and saving, only the permissions selected on the second page are being saved. I would expect the values selected in the first page...
When adding a User to a child organization, it automatically assigns them to the parent organization
Issue I've observed a difference in behavior when assigning a User to a child organization. DXP 7.2: the user would only be assigned to the child organization and not the parent organization. Quarterly Release: the user would be assigned to the child organization and automatically be...
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 information.This function is available for "Regular Roles" but unavailable for other...
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 notification method for each asset of the portal from the user profile menu...
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 specific role? Environment Liferay DXP 7.3 Resolution Creating Users and Roles...

Showing 61 to 120 of 1,394 entries.