Search Results

Knowledge Base 1400
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
How to use anchors in CKEditor
Issue I need to make use of anchors in my content Environment Liferay 7,3, 7.4, Quarterly Releases Resolution To be able to use anchors in your content, you'll need to follow these steps: Add a Rich Text...
Different behavior if you call a non-existing jpg or a gif
Issue A user tries to open a non-existing file with the documents path For example: localhost:8080/documents/abc.jpg or localhost:8080/documents/abc.gif The user will get a "Not Found" Page but it is not the same for...
Rest API to perform web content structure Import and Override
Issue Does Liferay provide any Rest API that can be used to save exported JSON of structures into Liferay DB, like the option "Import and Override" in Structure tab of Web Content? To be more precise, imagine a simple use...
Access multiple sites using the different domain name
Issue Run multiple Sites on a single instance using the different domain names Example: Site 1 running on the 'www.test.com:8080' domain and Site 2 running on the 'www.demo.com:8080' domain. Environment Liferay DXP...
Hide default login page /c/portal/login
Issue Is it possible to hide the default /c/portal/login page? We want users to use a specific login page, and prevent them from using /c/portal/login to log into the portal. Environment Liferay DXP 7.0+ Resolution...
After activating Publications, publication users can make changes directly in production
Issue With Publications active, we want to prevent publication users from being able to make changes directly in production, we only want them to be able to change publications. Environment Quarterly Release...
How to enable cookies and the banner, consent panel
Issue How to enable the cookie preference handling as well as the configuration options for both the banner and the consent panel. Environment Liferay DXP 7.4 Resolution This feature was introduced in the Liferay...
How can administrator users pre-configure a category filters in a search page?
Issue In a search page, an administrator user can narrow search results using the Type Facet by pre-selecting specific object types in the widget configuration. We need to do a similar filtering selecting specific...
Font-weight is not being responsive on Heading Fragment
Issue Despite setting the font weight for the Heading Fragment, the fragment is unresponsive and doesn't respond to the applied setting.  Environment DXP 7.4 Resolution This is determined to be the intended behavior....
How to set up antivirus scanning of files uploaded to Liferay Documents & Media 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 Customers who aren't familiar with Docker can't easily setup...
Good practices in using Publications
Issue I would like to understand from the Product's point of view what would be the best way to create a new website using the Publications tool. What would be the best option among the scenarios below: Create the...
How to hide the particular folder from user under document and media
Issue How to hide a particular folder from a particular user in the document and media section. Environment Liferay DXP 7.4 Resolution Follow the steps to achieve this requirement: Navigate to the Control Panel >...
After migrating to DBStore, how to check it was (entirely) successful
Issue We are in the process of migrating documents and media from our file-system based store to the database (DBStore) How to find out if all active documents and media are migrated to the database? Is there a way to do a...
How can I disable web content history?
Issue We would like to have only one version of our web contents so we want to to disable the web content history/versioning. Environment Liferay DXP 7.4 + Resolution Edit the Journal Article Maximum Version Count...
How to disable the blue redirection box
Issue Navigate to the home page and change the URL http://localhost:8080/en/web/guest to http://localhost:8080/en-au/web/guest or http://localhost:8080/en-gb/web/guest and hit the URLs, the blue pop-up appears on the...
Unable to see Multiple options for web content
Issue Trying to change the web content to multiple languages but users are unable to see multiple options for web content. Environment Liferay DXP 7.4 [all versions] Resolution There are the following steps to add...
How to set up OpenOffice/LibreOffice integration in a Docker environment
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 am running Liferay through Docker and I would like to enable the...
Security Vulnerability CVE-2023-28708
Issue This security vulnerability (CVE-2023-28708) has been reported, and it is fixed in Tomcat 9.0.72. However, our current Liferay DXP 7.3 SP1 has a 9.0.40 Tomcat version. Environment Liferay DXP 7.3 Resolution...
Improve Performance in Gradle time compilation
Issue When a Liferay workspace becomes larger and has a number of modules, the build process slows down. Environment DXP 7.3+ DXP 7.4+ Quarterly releases Resolution Once the workspace is created and...
Check the Java version 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 You want to know which Java version is running....
Single Approver Workflow: how to bypass for admin role
Issue We have implemented a single approver workflow for content review. The requirement is to bypass this workflow for users with the Admin role, allowing them to directly create new content and publish it without going...
Unable to adjust the Mandatory status of a field after publishing the Object Definition
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue This article documents intended behavior where the Mandatory status...
How can a non-admin user access the Content Dashboard
Issue I would like to create a non-admin user with permission to access the Content Dashboard. Environment Liferay DXP 7.4 Resolution To make the Content Dashboard accessible to a non-admin user, you will need to...
Disabling Login Portlet
Issue How do I disable the default Login Portlet to prevent any guest accounts from being created.  Environment DXP 7.2 Resolution In order to prevent any guest accounts from being created please follow these...
Importing and Exporting Object entries
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue This article discusses how to export a copy of your Object entries,...
Can you change the Content Ratings Widget/Page Ratings Widget's default "Star" selection when placed outside of a Collection Display?
Issue The Content Ratings/Page Ratings Widgets are alterable by changing the configurations in Site Settings > Social. When trying to change the configurations for a Content Ratings/Page Ratings Widget located...
How to give permission to a specific user to use Fragments
Issue How to give permission to the specific authorized person to access and edit the specific fragments. Currently, the admin can edit and access the fragments. Environment Liferay DXP 7.3 Liferay DXP 7.4 Liferay...
Disable Commerce Modules
Issue Some users don't need a commerce application in DXP 7.4 and would like to disable it. Environment Liferay DXP 2023.Q3.1 Liferay DXP 2023.Q3.2 Resolution The blacklisting of commerce modules works properly...
Remove "Add to Page" permissions for the "Guest"/"User" role
Issue "Add to page" permissions are populated by default for the roles "Guest" or "User". Although is the intended behavior, it may not be desired in some situations. Environment DXP 7.0, DXP. 7.1, DXP...
Guest user permissions not working for Picklists
Issue When picklists are assigned guest user view permissions, the JSON API is not accessible without authentication. Environment Liferay DXP 7.4 Resolution This is the correct behavior based on the Service...
How to create content in a language that is not the default one
Issue Is it possible to create content in a language that is not the default language of your portal? For example, your portal is by default in English and you want to create some content in Spanish, but you...
How to bulk edit Categories?
Issue How can a Liferay user bulk edit Categories in the Documents and Media? Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution Go to a DXP site. Navigate to Content&Data --> Categorization -->...
How to solve error: the parameter is null: _companyLogRoutingFilePatterns
Issue Trying to migrate from 7.4 to Q3, you could observe that in catalina.out file there are some errors such as the following: 2023-11-17 09:54:43,839 main ERROR The parameter is null:...
How to check item display permissions
Issue If the container folder (JournalFolder) of a web content does not have VIEW permissions for Guest, the contents are not seen if we are not logged in. This was different in 7.2. What has changed?...
Which version should I use for liferay.workspace.target.platform.version with the 2023.Q4 Quarterly Release?
Issue Which version should I use for liferay.workspace.target.platform.version with 2023.Q4 Quarterly Release? Environment Quarterly Release 2023.Q4 Resolution At the time of writing (Dec 2023), the noted workaround will be...
Filter out the users based on the departments using objects and picklists
Issue How to create a filter using an object to filter users with respect to their department Environment Liferay DXP 7.4 Resolution Follow the below steps to create filter: 1. Navigate to Control Panel > Object...
Forbidden when trying to download openapi.json
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 am unable to successfully download the openapi.json file...
Setting sameSite attribute in Cookie for header response on JBoss EAP 7.2
Issue How to add the sameSite attribute as 'Strict' on the cookies JSESSIONID,COOKIE_SUPPORT,GUEST_LANGUAGE_ID on JBoss EAP 7.2 Environment Liferay DXP 7.4 JBoss EAP 7.2 Resolution In JBoss, navigate...
What are the differences between using name and property in metatags
Issue We were creating custom meta tags and we see there are created using "property" attribute instead of "name" attribute. Are there any differences between using name and property? Are they equivalent?...
How to setup a timezone on DXP
Issue We have to make a setup in EST timezone and we would like to know how can we do that on the DXP. Environment DXP 7.4 Resolution Liferay runs and stores all times in UTC format to facilitate translating times into...
How to implement segmentation by geolocation?
Issue I want to apply a user segment based on a geolocation condition. Is it possible? Environment Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Resolution DXP 7.4 u44+ Since Liferay DXP 7.4 u44+, this functionality...
How to Change the Control Panel Favicon
Issue Is there a way to change the default icon for the Control Panel to something custom? Environment DXP 7.4 Resolution There are two ways to modify the favicon: The easiest way is creating their own theme...
Chrome lighthouse results for mobile device is poor
Issue Chrome's built-in lighthouse testing results for LCP and FCP rates, appear to be fine for desktop but not mobile devices. Steps to reproduce: Start a vanilla instance of DXP Stay on the current home page and...
Headless Admin Workflow APIs executing groovy scripts for scripted task assignment
Issue Whenever the API: http://localhost:8080/o/headless-admin-workflow/v1.0/workflow-tasks/assigned-to-me is executed, there are multiple loggers in the console which indicates that it is being executed every...
Force Authentication in SAML requiring reauthentication in SP
Issue With SAML and Force Authentication enabled, I am required to reauthenticate requests from the SP Environment DXP 7.3, 7.4 Resolution This behavior is intended, but to avoid manual reauthentication in this...
How to enable Google Cloud Translator
Issue How to set up Google Cloud Translator integration with Liferay DXP What type of information needs to be added in the field Service account private key Environment Liferay DXP Resolution To use Google Cloud...
Is there a way identify When was the user Deactivated and by Whom?
Issue Is there a possible way to find out when was the exact date the Liferay user was deactivated and by whom? Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution Please run the attached Groovy script to get a...
How to Disable Groovy Scripts and the Scripting Console in Control Panel - DXP 7.4
Issue I want to disable Groovy Scripts from being executed in Control Panel's Server Administration panel Environment DXP 7.4 Resolution Approach 1: Please follow: How to Disable Groovy Scripts and the...
Analyzing traffic and user activity on your Liferay Cloud environment
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 can we review inbound traffic and user activity in Liferay...
Need to shutdown servers in Liferay PaaS environment
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue User needs to shutdown the app server and web server for...
How to implement a token system instead of using credentials to access remote services
Issue Trying to write a custom remote service using Liferay (ServiceImpl file), so which method may be used to authenticate using a token rather than credentials? Environment Liferay DXP 7.4 Resolution Liferay has...
Replacement for Deprecated Portal Property: asset.categories.search.hierarchical=false
Issue We recently upgraded from Liferay 7.0 to 7.4 and observed that the portal property we were using seems to no longer exist: asset.categories.search.hierarchical=false Is there a replacement in 7.4 to achieve the...
Configuration and Definition of Dataset Views for Headless Resources (Beta)
Context/Problem Liferay interfaces aimed at displaying data are too rigid for the user. They show a predefined set of information items, with one or more layouts (cards, table) and...
How can I access OpenIdConnectProvider classes in 7.4 U34+?
Issue The Liferay classes com.liferay.portal.security.sso.openid.connect.OpenIdConnectProvider; and com.liferay.portal.security.sso.openid.connect.OpenIdConnectProviderRegistry; were removed in U34+...
Security Issue Concerning Google Guava Versions 1.0 to 32
Issue There is a present vulnerability with Google Guava that affects the versions from 1.0 to 31.1. Liferay is currently bundled with Guava. It has been reported that...
Modify columns in board Documents and Media
Issue The user wants to modify the columns that appear in the documents and media table Environment DXP 7.4 Resolution There is a property that it was created to modify the columns that the user could see on...
How do we Toggle Requirement for Strangers to Verify their Email Address
Issue How do we toggle the requirement for strangers to verify their email address  Environment DXP 7.4 Resolution This setting can be toggled by going to: Instance Settings > User Authentication. From here, you can...
How to test for vulnerabilitity to CVE-2020-7961
Issue We would like to determine if we are vulnerable to CVE-2020-7961. Environment DXP 7.3, DXP 7.2,  DXP 7.1, DXP 7.0 Resolution The steps to test for vulnerability to CVE-2020-7961 are as follows:   1. Start your...
Activate Remove Text Formatting
Issue By default in CKEditor "Remove Text Formatting" functionality is hidden. Environment Liferay DXP 7.4 Resolution RemoveFormat is already added to our shipped CKEditor, only it's needed to add the...
Images viewed by guest users should not be searchable in the search results to guest users
Issue Images stored in the Document and Media library are set to be viewable by the Guest user (public access). These images should not appear to Guest users in the Liferay internal search results. The...