Search Results

Knowledge Base 1413
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Is it possible to see the last time a site was accessed by a user?
Issue There is currently no out of the box solution that tracks when a user has visited a site. The group_ table in the database contains details about sites, but it does not keep track of the dates for site visits. ...
Change of Password Encryption Algorithm
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 The...
How to disable commerce components in a bundle?
Issue How to disable commerce modules in Liferay DXP 7.4? Environment Liferay DXP 7.3 Liferay DXP 7.4 (below U48) Commerce 3.0 Commerce 4.0 Resolution Commerce modules are enabled by default from Liferay DXP 7.3...
Using 'Fragments' on several sites
Issue How can users make use of 'Fragments' across several sites? Environment Liferay DXP 7.3 Resolution If users want to use fragments across several sites, exporting and importing isn't the best way to go....
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...
Permission Restriction on MyAccountPortlet
Issue We tried to restrict access to MyAccountPortlet for various users in order to prevent them from amending their own data. We found that despite removing the permissions for User and Owner roles on...
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...
Unable to create Private pages in DXP 7.4
Issue Unable to find Create Private Page options in DXP 7.4 Environment Liferay DXP 7.4 Resolution Starting from Liferay DXP 7.4 U22 & GA 22 our product team has deactivated the Private pages of any fresh installation....
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 protect the portal against Bootstrap: CVE-2019-8331 vulnerability
Issue Liferay 7.0 uses a Bootstrap versión that has this vulnerability: CVE-2019-8331 - XSS is possible in the tooltip or popover data-template attribute. Bootstrap issue 20184 - XSS in data-target attribute....
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...
How can I configure a grid with 3 modules but displaying 2 modules per row in tablet mode?
Issue We have created a content page that contains a grid with 3 modules and it displays 3 modules per row in desktop mode. We need to only display 2 modules per row in tablet mode but Liferay doesn't allow configuring 2...
How to check from a page fragment if the edit mode is active?
Issue From a page fragment code, we want to check if the edit mode is active for the page. Our fragment needs to behave different if the page is in edit mode (for instance, to create a modal fragment). Environment DXP...
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...
Localize download URL in image fragment in 7.2.x writing a custom fragment
Issue It is not possible to translate the link of a fragment image in order to download different documents for each language hosted in the Document Library. Environment Liferay DXP 7.2 and 7.3 Resolution Following...
You can't create child pages of a page from a site template with propagation enabled
Issue When creating a site from a site template with propagation enabled, this does not allow adding child pages to pages that were already created from the template. Environment DXP 7.0 or higher Resolution This...
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 to install Developer Studio using command line
Issue How to install Developer Studio using command line Environment Liferay Developer Studio Resolution Download the installer. Install Developer Studio using the following command...
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...
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...
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...
How to change site URL prefix from /web/sitename to a custom one
Issue Our Liferay web site has the following URL prefix: /web/sitename and its URLs are: http://example.com/web/sitename/mypage We want to change the URL prefix to: /level1/level2/level3 so its URLs are changed to:...
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...
Instance level LDAP configuration
Issue When configuring LDAP authentication from DXP 7.3, the companyId has to be configured on an instance level. This issue can present itself for example during a CI / CD development. Environment DXP 7.3...
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...
Rendering Adapted Images in a Web Content Article Using Asset Publisher with Custom Display Template
Issue How can I use Adapted Images in a web content article displaying in the Asset Publisher with custom Display Template?  Environment Liferay DXP 7.3 Resolution Go to System Settings > Template Engines > Freemarker Engine...
Localization of document title and description
Issue Why is it not possible to localize the title and description for documents? Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Resolution This is a limitation of the product. i.e. The title...
How Liferay is responsible to generate canonical links on the web page?
Issue How Liferay is responsible to generate canonical links on the web page? In which file, the code has written for it?  Environment Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Resolution To disable or modify...
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...
How to cancel navigation events with JavaScript?
Issue Need a solution to stop navigation when a user clicks on a navigation event. i.e.: A custom code wanted to be executed before the navigation. Environment Liferay DXP 7.0+ Resolution You can use the below...
How to build a SOAP JAX-WS (Java API for XML Web Services) client using the Liferay infrastructure.
Issue We have a WSDL (Web Services Description Language) descriptor and we need to build a client from it. Finally, we will make this service (client) available to any application installed on our Liferay instance....
Liferay PaaS Space allocation
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Need to know available and used space in Liferay PaaS....