Search Results

Knowledge Base 1403
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
JournalArticleAssetRenderer.getSummary method no longer returns the first 200 characters of the Web Content when description field is empty
Issue Considering the following scenario: A Basic Web Content with no description but non-empty content field. An Asset Publisher configured to display all the Basic Web Contents of the site with the following Asset...
Caches for Widget Pages and Content Pages
Issue There is not an easy way to know how many caches are, which their lifetime is, and how they can be cleared. Environment Quarterly Releases: 2023.Q3, 2023.Q4, 2023.Q1 Liferay DXP 7.3, 7.4 Resolution Widget Pages...
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...
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 to perform a log-out from a custom theme
Issue I want to perform a logout from a custom theme. Environment Liferay DXP 7.0+ Resolution Avoid calling /c/portal/layout directly. Instead, you can leverage the sign_out_url variable initialized in init.ftl for...
Search Facet and Total Counts Accuracy and Dynamic Permission Inheritance
Overview Each search response includes the total result count and the count for each facet bucket. This applies to Liferay's faceted searches: from the Search Bar or a Headless Search API call. These counts are not...
Existing template is not found when creating a web content in Global Site
Issue When trying to add a Web Content in a new created template under the Global Site, the new template is not displayed or available to select. Environment DXP 2023.q3.4 Resolution This is the expected behavior. The...
How to Query for Javascript Alerts in Web Content Articles across multiple sites
Issue How do I search for Javascript Alerts that are located in Web Content Articles across different Liferay sites?   Environment Liferay 7.4   Resolution The overall approach towards querying the alerts is: Get a...
How can I restart just one Liferay node from the Cloud Console?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue One node isn't working as expected, but I don't want to...
Use Javascript with Client Extension on pages
Issue How to run Javascript on pages using a client extension? Environment Liferay DXP 7.4 Resolution With a JavaScript (JS) client extension you can run your own JavaScript on any page in Liferay without...
How to remove languages in Instance Settings?
Issue How can a user remove languages in Instance Settings? Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution Start up a vanilla bundle without any specific language settings. Go to Control Panel >...
How to enable conversions for document library files.
Issue How to download converted document through Liferay Document Media portlet while using OpenOffice? Environment Liferay DXP 7.4  LibreOffice 7.1.6  OpenOffice 4.1.11  Resolution Add the...
How to Generate SAML Tracer export for Liferay Support
SAML Tracer can be a useful debugging tool for viewing SAML messages sent through the browser during single sign-on and single logout and helps with analyzing both SP- and IdP-initiated SAML flows, including viewing and...
How to get a list of portal Users and what Roles are assigned to them?
Issue I would like to get a list of Liferay portal users and what roles are assigned to them. Environment Liferay DXP 7.2+ Resolution Please run the attached Groovy script: ListUsersAndRoles.groovy  Additional...
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...
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...
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...
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...
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....
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 >...
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...
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 -->...
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...
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...
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...
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...
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...
Is it possible to hide specific friendly URLs from the sitemap?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue The issue revolves around the configuration of friendly URLs in...
How to create a new product that references an existing image in the Document Library
Issue How to use the headless commerce admin catalog API to associate a document that already exists in Liferay to a product. Environment DXP 7.4 Resolution This can be done with a single call:     POST...
Unable to disable Commerce in Quarterly Releases
Issue Blacklisting the Commerce API and IMPL no longer disables Commerce as of the 2023.Q3 Quarterly Release. What is the new recommended way of disabling Commerce as of the quarterly releases? Environment Liferay...
Improvements on API Builder
Context Currently, if any customer needs to create a custom API that works over custom Objects, they have two options: use the default API generated with the Object (one API for each...
How do I know the ingress IP of my Liferay SaaS 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 need to find out the Inbound IP of my Liferay SaaS...
Richer Data Management experiences with the possibility to update Object entries from Display Pages
In the past few months, a huge effort was made to make it easy to create amazing UIs for data ingestion use cases, providing the Form Container and a nice set of OOTB form fragments...
Creating and building themes in Liferay Maven Workspace
Issue I would like to create and build my themes in Liferay Maven Workspace. Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution...