Search Results

Knowledge Base 1400
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
JavaScript URLs are not updating when Staging is enabled
Issue With staging enabled, JavaScript URLs, referencing content in Documents and Media, are not updating when a page is published from Staging to Live For example: JS URL on Staging:...
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...
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 enable ModSecurity and Check if it's Working (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 How to enable ModSecurity in Liferay PaaS and test...
Obfuscating property values and rendering them as asterisks(*****) in the Control Panel.
Issue Certain property values need to be hidden in the Control Panel.  Environment DXP 7.4 Resolution To obfuscate the value of a portal property and have it appear as a string of asterisks (****) in the Control Panel,...
Hide image formats to be returned in search result
Issue When users search for a specific keyword (let's say fav) using the Liferay search bar portlet, the search result shows each and every content with the keyword fav that are Web Content, Images, users, etc....
How to remove file upload option for the particular user
Issue How to remove or add the file upload option in the web content for the specific user. Environment Liferay DXP 7.4 Resolution The following are the steps that can be taken to achieve this:  Log in as an...
How Can I Reset My Liferay PaaS Environment to its Original State?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Every so often, a situation may arise during development or...
How to remove users from Liferay that are deactivated / deleted in the LDAP server
Issue When a user is no longer listed in the LDAP server, the authentication fails and the user cannot log in anymore, but a dead user entry remains in Control Panel -> Users. Environment Liferay DXP 7.0+...
Transform LDAP attributes to be properly mapped to Liferay fields
Issue I need to transform some attributes from my LDAP to be properly mapped with the Liferay fields. Environment Liferay DXP 7.3 Resolution We can define mappings from LDAP attributes to Liferay fields in the...
How to hide User Facet from Search Results Page
Issue I would like to hide the User Facet from Search Results Page. Environment Liferay DXP 7.3 Resolution As an admin user, enter a keyword in the Search Bar and click the Search button. The default search...
Deactivate Liferay users automatically when they are deactivated on LDAP
Issue We have an LDAP server connected to Liferay and we want to deactivate Liferay users automatically when they are deactivated on LDAP. Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution We can use the...
en_US and en_GB is available and it is always displayed in long-form
Issue We want to have both American English and British English available in the Instance settings, but only use one of them on a site that has a non-English language set as the default language. The URL should be...
How to display web contents for segmented users and for all users in a single Asset Publisher
Issue Sometimes it is required to display web contents for segmented users and, at the same time, display web contents for all users (segmented or not). For example, we may want to show different web contents for...
Use CKEditor plugins button on AlloyEditor
Issue What are the steps to add the colorbutton plugin as an AlloyEditor button? This official documentation doesn't work on DXP by default and needs some extra configuration. Environment DXP 7.0, DXP 7.1, DXP 7.2, DXP...
Option search in Product Management bar is not working properly
Issue When we search the latter part of the string in options, the search is not displayed anything. For e.g., "FuelType" and "ClutchType" are the options and in search, if we type "Fuel" for searching then the...
Disable email notifications of web content, when you post a comment
Issue When you write a comment on a web content, you will automatically start receiving emails on every update that is made on that web content. Environment Liferay DXP 7.2, DXP 7.3 Resolution This is an expected...
Administrator can't assign an existing regular site to an organisation
Issue A portal administrator wants to assign an existing regular site as an organisation site. Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Resolution...
How to keep the session logged between different subdomains
Issue You need to logging each time you enter in each site even sub domines of the same domain. To keep de same session across different sites that are subdomains of the same domain. For example siteA.example.com and...
How do I upload files to a non-navigable URL 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). Issue I want to store configuration files on Liferay PaaS that...
Link page in fragments in 7.3
Issue In 7.3, contrary to 7.4, it is not possible to select a page using the type='link' tag in a fragment. Only 'content' and 'URL' options are available. This feature would be very useful to, for...
Autocomplete issue during login
Issue During login, the browser autocompletes the user's credentials into the fields based on past logins. Environment Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Resolution These login...
How to download a file I created on the liferay service 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). Issue Example use case: with the below command in the Liferay service, I...
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...
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...
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...
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....
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...
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...
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....
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...
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...
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...
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...
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...
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...
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....
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...
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...
Configuring Message Board Notifications for Users
Issue Users receive Message Board notifications for all new replies within a category that they are subscribed to.  Is it possible to notify users only when there are new threads within the category that they are...
Can you limit database results to show only the top results (ordered by a date field)?
Issue Not all results in the database are necessary for my purposes. I want to know if it's possible to sort the results by only showing the top results and order it by a date field.  Can this be done without having...
How to make Liferay blogs visible to search engines like Google
Issue How to make Liferay blogs visible to search engines like Google Environment Liferay DXP 7.1+ Resolution The sitemap URL should be added to the robots.txt file to make it available to search engines like...
"The URL used in English (United States) already exists in other sites or asset libraries" warning when publishing Web Content
Issue After upgrading to 7.4 u66 we are seeing the following warning message when we publish some Web Content: Warning: The content has been published but might cause errors. The URL used in English (United States)...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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)....
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...
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,...
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...
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...
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....
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...