Search Results

ナレッジベース 1356
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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 access to them is going to take us to login page, this might not be desirable....
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. Environment Liferay PaaS Resolution By default, the webserver nginx.conf uses...
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 Predefined Value (what format, syntax) and whether it works after that. It...
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 lacerations. Environment Liferay DXP 7.3, 7.4 Resolution In summary, this...
Protecting Against Bootstrap CVE-2019-8331 via AntiSamy Sanitizer
Issue Liferay DXP 7.0 uses a Bootstrap version which, under certain configurations, is susceptible to the following Cross-Site Scripting (XSS) vulnerabilities: CVE-2019-8331: XSS is possible in the tooltip or popover data-template attribute. Bootstrap Issue 20184: XSS in the data-target...
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 created. A Dockerfile is a text file that contains a list of commands that the Docker...
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 same: Field name in the UI: "Text1". Field name in the database: "Text1". Code...
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 Modules per Row, this option is not displayed in the Style...
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 7.2 DXP 7.3 DXP 7.4 Resolution You can check if the edit mode is...
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 Requests from ADFS to Liferay must be signed. Run the command below in the...
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? Environment Liferay PaaS Resolution In the Shell tab of the...
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 the date range function. Below we have 4 forms, 3 were created 2 hours ago...
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 these steps, you can create your own customizable fragment image that...
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 happens when propagation of changes from the site template is enabled. It...
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 regular DXP User that is created in the Users and Organizations interface cannot be...
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? Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution Unfortunately,...
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 components. Should these requests be sent to the support team? Environment...
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 environment Environment Liferay PaaS Resolution The Service Update 2021-25-1 to the...
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 no such Blade template.  For Liferay DXP 7.4 it's possible to use the...
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 7.0-7.4 Resolution This is a product limitation: Unfortunately, the...
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 there is an option that needs to be enabled by default.: Go to...
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 ./LiferayWorkspacewithDevStudio-xxx-linux-x64-installer.run --mode unattended --java_executable...
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 testing where you need to bring your Liferay PaaS environment to a...
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+ Resolution There is a way to synchronize user deactivation with the...
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 Liferay LDAP server configuration. Usually, these attributes can be mapped one...
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 function redirects to a page with results on the right and a collection of facets...
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 Status attribute to achieve it: 1. Access Control Panel > Instance Settings >...
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 users belonging to different areas such as cities, departments, etc. and,...
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 displayed as follows: www.portal.com/en but the long form of the language...
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 7.3 Resolution The solution is to add on the configuration this...
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 "FuelType" option is shown but not with the Type i.e. last expression of 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 behavior. However, there are two different options to avoid it. Disable the...
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 Liferay doesn't currently have such functionality to assign an existing regular site as an...
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 siteB.example.com Environment Portal 6.2 DXP 7.0 DXP 7.1 DXP 7.2 DXP...
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 should not be accessible to the general public. Is there a way to do 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 example, avoid creating as many manual URL links as languages needed. Environment Liferay...
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 credentials are stored and filled out in the browser, so Liferay may not have full...
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 exported the contents of a Liferay table to a file mysql -e...
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: http://example.com/level1/level2/level3/mypage How can we change it?...
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 MultisearchSearchRequest - MultisearchSearchResponse from the...
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 Resolution To properly configure the companyId, perform the next steps: Add the...
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 Liferay DXP 7.3 Resolution Unfortunately there is no direct method available...
Troubleshooting Missing Workflow Notifications for Organization Roles
Issue When a user with an Organization Role (e.g., Organization Content Reviewer) uploads a document to a folder assigned with a workflow on the Global site, the designated approvers within that organization do not receive a notification. Environment Liferay DXP (All Versions) Resolution...
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 > Restricted Classes and remove serviceLocator from the...
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 and description belonging to any document cannot be localized. A feature request...
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 the canonical tags, you may have to override the below JSP file by...
Prevent simultaneous logins to the same user account
Issue I want to invalidate active sessions when a user logs into the same account from a new browser or device. Environment Liferay DXP 7.0+ Resolution Add these two properties to portal-ext.properties and restart the server. Once they're set, a new login invalidates the user's previous...
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 sample code to access the event: Liferay.on('beforeNavigate', function(event)...
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. Environment Liferay DXP 7.x wsimport tool from Oracle JDK 8. Resolution...
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. Environment Liferay PaaS Resolution Go to Liferay service -> Shell, and input...
Automated process to remove users from Liferay that are no longer in LDAP?
Issue Is there a way to automatically remove users from Liferay who are no longer in LDAP? Environment Liferay DXP 7.1 Resolution There's no automated process to do this out of the box. However, a feature request for the same has already been submitted and can be tracked here LPS-69061...
Create a custom logout action
Issue I want to control what happens after a user logs out.    Environment DXP 7.0+ Resolution There are two ways of achieving the desired outcome. The first is to create a custom module and add it to the list of modules of the following portal-ext property:...
How to hide a site from indexing robots
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 disable robots in some pages and how to disallow the robots indexers to reach an environment. Environment DXP 7.0 DXP 7.1 DXP...
How to handle HTTP status errors with 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 configure the redirect of each HTTP status outside Liferay with Nginx. Inside Liferay you are able to manage some related...
Display name for a language is shown as beta
Issue I noticed that for certain languages, the display name is shown as beta, e.g. italiano [beta]. Where can we change that? Environment DXP 7.3 Resolution The particular language (in our case, Italian) locale is in beta by default in the property:...
Hide certain Structure in Add web content dropdown menu
Issue Is it possible to hide certain Structure in Add web content drop-down menu? Environment DXP 7.3 Resolution To achieve that, consider removing the view permission of the structure. Steps can be found as follows: Go to Content -> Structures page. Edit the permission of the structure...
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 This functionality can be brought back with customization of the...
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 receiving a page not found with a status 404. Environment Liferay DXP...
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 Blob Storage and fill in the configuration values.  You’ll need to...
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 format of Commerce Product data to match how the Liferay Site...

該当件数: 1,355 件中 1 - 60