Search Results

Knowledge Base 1403
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Groovy Script Method to Delete Users in Bulk
Issue I need to delete many users at once from a Liferay instance in a programmatic and efficient way without directly modifying the database (which is not advised). Environment DXP 7.1 Resolution Below is a template...
How to fix widget size on content pages
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue...
Integrating AlloyEditor fields in AUI forms
Issue CKEditor textareas are usually introduced in JSP pages by calling the taglib InputEditor: <liferay-ui:input-editor contents="<%= HtmlUtil.escape(title) %>" editorName="ckeditor" name="titleEditor"...
How can I disable document versioning?
Issue I'd like to disable document versioning (so that every document has only one version) Environment 7.2+ Resolution You cannot disable versioning altogether, per se, but you can reach an equivalent result by limiting...
Admin pages are shown as search results by Google
Issue Searching for the right terms you can see how Google (or any other web search engine) can show admin pages, such as Control Panel or Site Admin, as entries in their list of results. Even when trying to...
How to Update Webserver Credentials
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 change my webserver login credentials....
How can I use predefined values (default values) for web content structure Image fields
Issue I am trying to set and use the Predefined Value for an Image field I added to a web content structure, when configuring the field (on the left side) However, I am not sure what exactly I should write in the...
Unrelated word matches in searches
Issue In some rare occasions, when searching there can be unexpected results matched by title that are not related to the searched terms. An example would be: Search term: laces. Results: laces, laced, but also...
How to create a Liferay custom docker image
Issue How to create a Liferay custom docker image using any base image? Environment Liferay DXP 7.0, 7.1, 7.2, 7.3, 7.4 Elasticsearch Resolution To create a custom docker image, a Dockerfile should be...
Journal Article Structure Field Name is not the same in the UI and the database
Issue When trying to get a journalField value via java, the field name is not the same as the one shown in the UI. Example in prior versions, where the field name in both the UI and the database would be the...
Signed SAML response
Issue How can the signed response, which is required by ADFS to complete authentication at the Liferay end, be clarified? Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Resolution...
Access Liferay PaaS Elasticsearch Server Indices
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Which endpoint should I use to access Elasticsearch Server indices?...
How to Export a Single Form as a LAR File
Issue How can I export a single form in LAR format? Environment DXP 7.3   DXP 7.4 Resolution During the export process, there are options that allow for the inclusion/exclusion of data. In this example, we'll use...
Assign User to Account
Issue Not able to select the created User to be assigned to an Account.   Environment Liferay DXP 7.4 Commerce 4.0   Resolution Users for Accounts can only be created within the Account Users interface. A...
Is there a REST API method to revoke the OAuth2 tokens?
Issue We want to provide a public REST API method to revoke the OAuth2 tokens following the RFC 7009 specification https://datatracker.ietf.org/doc/html/rfc7009#section-2.1 Does Liferay provide this functionality?...
Problems migrating component from AUI to Clay
Issue Migrating components from AUI to CLAY, there are some features that cannot be directly adapted. Sometimes, these problems in the migration bring features requests or functionality questions regarding CLAY...
Backup in non-production 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 to configure backup in a non-production...
Are there Blade templates available for custom Web Content structure fields?
Issue Is it possible to use a Blade template to create a personalized Field for a Web Content structure? Environment Liferay DXP 7.0, 7.1, 7.2, 7.3, 7.4 Resolution For Liferay DXP 7.3 and lower versions, there is...
Wiki has no multi-lingual functionality
Issue We have detected that wiki has no multi-lingual functionality, so it is not possible to translate their content and display the wiki pages in the correct language depending on the user. Environment Liferay DXP...
Re-importing contributed fragment collections cause missing default resources
Issue If a fragment on a page has a static resource (an image for example), it will disappear when the fragment collection is imported again. Environment DXP 7.3 DXP 7.4 Resolution This is the expected behavior because...
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...
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 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...
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...
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...
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...
MultiSearch Request solution for Liferay
Issue Liferay has no out of the box solution for handling MultiSearch Requests. Environment DXP 7.2 Resolution The Multi-Search API is exposed as a low-level API in Liferay Search's APIs through...
How to identify a Page Template using Freemarker
Issue I need to identify if the current page is a page template or not, using Freemarker from the applied theme. Is there a method similar to Layout.isPublicLayout() to achieve this? Environment Liferay DXP 7.2...
Workflow notification/assignment based on organisation role type
Issue If any user uploads a document in the folder under document and media in which the workflow has been assigned, it should notify the approver within the organization that is based on the role type configured in...
Allow only one user to be logged into an account
Issue When someone is logging into an account I want to invalidate the previous session.  Environment Liferay DXP 7.0+ Resolution With the following portal-ext property you can invalidate sessions, allowing only one...
Alloy Editor Image-Dialog with double-click went missing
Issue In DXP 7.2 before FixPack 10 it was possible to open the image properties dialog with double-click in the web content editor. Environment DXP 7.2 FP 10+ Resolution This is an intended change, see LPS-127058...
When I change the page name and its friendly URL, the new page can still be accessed when using the old page URL - DXP 7.3
Issue I have a page with a friendly URL. I changed the page name and friendly URL. However, when I try to access the page with the new name using the old page friendly URL, I get redirected to the new page instead of...
Azure Blob Storage
Issue How to store file from Liferay to Azure blob storage container in Liferay DXP 7.3 Environment Liferay DXP 7.3 Resolution Configuring the store To configure the store, go to System Settings > File Storage > Azure...
How to import commerce product?
Issue Is there any feature where we can import Liferay Commerce Products? Environment Liferay DXP 7.3 Commerce 3.0 Resolution There is no out-of-the-box feature available to import the products in bulk. However, the...
How to Configure Liferay DXP with Multiple IdPs (OKTA via SAML and OIDC)
This article documents the way to configure Liferay DXP 7.x as a Service Provider working with two SSO protocols (Okta using SAML 2.0 and Google OpenID Connect). The basic configuration can be achieved within Liferay out of...
Asset Publisher widget shows author and modified date by default from Liferay DXP 7.2 onwards
Issue Dragging and dropping an Asset Publisher widget on a page will show, by default, the author and the modified date for all of its contents contrarily to other previous versions. Environment Liferay DXP 7.2+...
Sharing web content on web content display portlet between sites other than the Global Site - DXP 7.1 - 7.3
Issue We can configure the site scope on Web Content Display Portlet to share web content between the global site and other sites. However, we would like to share content between sites other than global site, but this...
HTTP Strict Transport Security (HSTS) Header Not Used
Issue The HSTS header cannot completely defend against man-in-the-middle attacks. However, it can be useful in defending against an attack in which an attacker establishes an encrypted connection to the application and...
Verbose Error Messages
Issue The name of the technologies used, such as Apache Coyote, Tomcat, etc. are visible. Environment Liferay DXP 7.2, DXP 7.3 Resolution  Each application is responsible for allowing its information to be displayed...
DLFileRank modules are not available anymore
Issue In Liferay DXP 7.3, DLFileRank modules are not available (document-library-file-rank-api, document-library-file-rank-service). Environment DXP 7.3 Resolution These modules have been archived in version 7.3....