Search Results

ナレッジベース 1394
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Canonical urls for commerce products
Issue Canonical URLs work correctly for pages in different locales, however, users want the same for their products so that the correct canonical tag is displayed for their product based on the page locale. Environment Liferay DXP [all updates] Quarterly Release Resolution Follow the...
Creating a User Account Without an Email Address
Issue How can I create a user without requiring the user to have an email address?  Environment Liferay Quarterly Releases Resolution You can create a user without requiring an email address by setting the following properties in the portal-ext.properties file....
Enable/Disable Multi-Factor Authentication
Issue If there is any problem related with the way two-factor is working or do you simply want to deactivate it for some reason. Environment Liferay DXP 7.4 2023 Q1 - 2023 Q4 2024 Q1 Resolution There are two ways to enable or disable the multi-factor authentication: Through the portal,...
How to properly scale up Search nodes?
Issue How to properly scale up Search nodes instead of deleting the Search service and deploying it again? Environment Liferay PaaS Liferay DXP 7.4+ Resolution Following the Liferay Cloud Upgrading to a High Availability Subscription documentation, which also describes the procedures to...
How to get content metadata from Asset Publisher template
Issue We are designing an Asset Publisher template and we would need to get content metadata available to configure an Asset Publisher. Environment DXP 7.4 Resolution The information about Asset Publisher widget preferences just as every widget which supports Display Templates, is...
How can I display the maximize and minimize buttons in my widget
Issue I upgraded from 6.2 version to 7.4 and I am not able to configure maximize and minimize buttons in my widgets as I had in 6.2 version. I used to add $theme.iconMinimize() and $theme.iconMaximize() to my custom theme using Velocity. Environment 2024.Q1 2023.Q4 2023.Q3 DXP 7.4...
ModelSearchRegistrarHelper class mentioned in Search Service Registration article is missing
Issue I tried to follow this Search Service Registration article to perform indexing my custom service-builder object, but there is no ModelSearchRegistrarHelper class available, what should I do now? Resolution Remove the SearchRegistrar class and create a new ModelSearchConfigurator...
Microsoft Azure Key Vault with Liferay DB
Issue Can we use Azure Key Vault with DB setup configuration in Liferay instead of having it in plain text in the properties file? Is there any way to configure the DB in Liferay using Azure Key Vault? How we can use Azure Key Vault to store the DB username and password and read it...
No external access to database
Issue We need to make some modifications to the database, and therefore we have opened port 3306 of the database to be able to access it from outside, just as we have done many other times. However, this time we were unable to connect to the database with the correct credentials (copied...
How to send a confirmation email to non-authenticated users about Form submissions based on Objects?
Issue I would like to send a confirmation email to the non-authenticated user who just submitted a Form based on an Object. Environment Quarterly Releases: 2023.Q3, 2023.Q4, 2024.Q1 Resolution Create an Object with at least one text field. Optionally, create a field validation for that...
How do you access Dynatrace in UAT?
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 you access the Dynatrace Dashboard when the Advanced tab is missing from the Monitoring page in a UAT environment?...
How to increase the limit of articles per page in Blogs?
Issue I would like to know if it is possible to increase the default Maximum Items to Display in the Blogs Widget.  Environment Liferay DXP 7.4 Resolution You can modify the default blogs.entry.page.delta.values property in the portal-ext.properties file to define a list of custom...
Remove all previous versions of KBArticle except for the latest version
Issue I wish to removal all prior versions of KB Article, but leave the latest version intact. Environment DXP Quarterly Release Resolution You could run the remove_kb_article_previous_versions.groovy Groovy Script (attached below) to remove all previous versions of KBArticle except the...
How to Disable CAPTCHA on Server Admin Pages
Issue How do you disable CAPTCHA on pages? Site Administration pages like the Gogo Shell now have a CAPTCHA verification. How do you disable CAPTCHA on pages? Adding “-1” (Never Check), doesn’t work. Previously, CAPTCHA could be “disabled” by navigating to Control Panel → Configuration →...
Is it possible to open a PDF or another previewable file on a certain page from the Documents and Media widget?
Issue When a Documents and Media widget displays a previewable document like a PDF, it's possible to move around the different pages. Is it possible to have a URL that takes you directly to the preview on a specific page of the document? Environment Liferay DXP 7.2, 7.3, 7.4 Quarterly...
Configuring Message Board Notifications for Users
Issue Users receive Message Board notifications for all new replies within a category that they are subscribed to.  Is it possible to notify users only when there are new threads within the category that they are subscribed to?  Environment DXP 7.4  Resolution Users are able to configure...
Can you limit database results to show only the top results (ordered by a date field)?
Issue Not all results in the database are necessary for my purposes. I want to know if it's possible to sort the results by only showing the top results and order it by a date field.  Can this be done without having to involve a custom DynamicQuery? Environment DXP 7.0+ Resolution This...
How to make Liferay blogs visible to search engines like Google
Issue How to make Liferay blogs visible to search engines like Google Environment Liferay DXP 7.1+ Resolution The sitemap URL should be added to the robots.txt file to make it available to search engines like Google. Based on this, configure search and indexing rules in...
"The URL used in English (United States) already exists in other sites or asset libraries" warning when publishing Web Content
Issue After upgrading to 7.4 u66 we are seeing the following warning message when we publish some Web Content: Warning: The content has been published but might cause errors. The URL used in English (United States) already exists in other sites or asset libraries. Environment Liferay DXP...
Adding new entity to an already deployed service builder module fails
Issue The issue occurs while updating/adding a new column to the existing database custom table i.e. using Service Builder to add another entity in an existing module. Environment Liferay Developer Studio Liferay DXP 7.4 Resolution To add new columns to existing tables using the...
How to display the results when searching different Elasticsearch indices
Issue With the Low Level Search Options feature, you are able to search alternate indices by performing a federated search. For regular searches (Liferay results), you can use SearchResultSummaryDisplayContex to get the data and display the search results. That is what you get in the...
Is it Possible to enable the “Learning to Rank” feature in Liferay Paas or Saas?
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 use the Learning to Rank feature in my Liferay Cloud environment. Is it possible to use this feature in either Paas...
Retrieve display page template configured in web content article
Issue The goal is to retrieve, via Liferay's API, when a web content article is associated with a Display Page Template. Environment Liferay DXP 7.4+ Resolution Attached is a Groovy script as an example, through which the display page template associated with a particular web content...
Including custom language keys in a custom theme
Issue Is it possible to include language keys from a language module in a custom theme? Environment Liferay DXP 7.0, 7.1, 7.2, 7.3, 7.4. Quarterly Releases. Resolution At this moment, there is no way to display custom language keys from a module into a theme. The alternative is to...
'liferay-ddm' taglib not working for Web contents in 7.4+
Issue We have some custom developments that use liferay-ddm taglib. After an upgrade to 7.4+, that taglib does not work. Environment Liferay DXP 7.4+ Resolution Starting in 7.4, Web Contents stopped using the DDM engine and its associated taglibs (liferay-ddm:html) to use the Data Engine...
Whitelisting IPs in Liferay Cloud
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 need to enable an IP or set of IP addresses to access your Liferay Cloud instance. Environment Liferay SaaS Resolution Configure...
Using quarterly release tags in my workspace
Issue I would like to use the quarterly release tags for liferay.workspace.product and liferay.workspace.target.platform.version properties in the gradle.properties file. e.g. liferay.workspace.product=dxp-2024.q1.1 liferay.workspace.target.platform.version=2024.q1.1 Environment Liferay...
How can I send notifications to an specific role or user programmatically using workflows
Issue How can I assign workflow tasks to multiple users by Scripted Assignment, but not by assigning tasks to a role? Environment Quarterly releases 7.4 7.3 Resolution One common requirement is to notify specific roles or users within an organization when certain logic occur, in case of...
Configuring Email Sender Name and Email Address in Liferay Workflows Notification
Issue How to specify a custom email address or sender name for a workflow notification different from the default provided in portal.properties: workflow.email.from.name=test workflow.email.from.address=test@liferay.com   Environment Quarterly releases 7.3 7.4 Resolution Sender's name...
EXT module override is not being applied in 2023.Q3.3+ from ${liferay.home}/osgi/marketplace/override
Issue Adding an EXT module override in ${liferay.home}/osgi/marketplace/override no longer functions. Environment Liferay DXP Quarterly Release 2023.Q3.3 and later releases Resolution To workaround this behavior for the time being please use the following steps: Rename the module that...
Workaround for deprecated Liferay "Forms" headless API
Issue The Liferay "Forms" headless API is deprecated. It is discussed in detail here: https://liferay.atlassian.net/browse/LPS-125528 The users could still want the functionality that was provided by these endpoints. Environment Version: Liferay DXP 7.4 Quarterly Releases Resolution  You...
WebDAV authentication with username and password has not been working since 2023.q4
Issue Until version 2023.q4 (excluding), the standard authentication (using username and password) to connect to WebDAV worked correctly. Since this version, such authentication has been disabled. Environment 2023.Q4 Resolution Starting from 2023.q4 and next versions, access to WebDAV is...
Displaying multiple Search Results on a single page
Issue I want to display multiple Search Results in the same page. I am using tabs (for example, the out-of-the-box Tabs fragment), and I want each tab to have its own Search Results widget. How can I achieve this? Environment Liferay DXP 2023.Q4 Resolution To achieve this, you can...
How to minify the CSS and Javascript resources by customization
Issue How to perform the minification of the CSS and Javascript resources by using the Liferay theme builder. Environment Liferay DXP 7.4 Resolution How to make Gradle call gulp build in themes Essentially, the idea is to replace the Gradle theme build process with gulp, which should...
How Can I Identify Which Widget Templates Are in Use?
Issue How can I know which of my Widget Templates are in use? How can I see where my Widget Templates are being used throughout the Liferay instance? Environment Liferay DXP Resolution For users on Liferay DXP 7.4, you can use the UI to find which of your Templates are in use, and where...
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 Publisher Template: <#if entries?has_content> <#list entries as...
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 can be cached by CacheFilter's cache. This cache's lifetime is 600...
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 whether it is working or not. Environment   Liferay DXP 7.4 Resolution Follow the...
Obfuscating property values and rendering them as asterisks(*****) in the Control Panel.
Issue Certain property values need to be hidden in the Control Panel.  Environment DXP 7.4 Resolution To obfuscate the value of a portal property and have it appear as a string of asterisks (****) in the Control Panel, you have to include the name of that portal property in the...
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. The expectation is to hide image formats such as (png, gif, jpg, jpeg) to be...
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 administrator. Navigate to the Control Panel > Users > Users and Organization....
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 frontend-theme-unstyled base theme (see code). For instance, you can do...
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 guaranteed to be accurate because the indexed view permissions are...
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 template was not associated with a structure so it will not appear in...
White space in the html source
Issue When viewing page source, is it possible to remove the white spaces in order to make it easier to read? Environment Liferay DXP 7.3+ Resolution Set the following properties in your portal-ext.properties file, to filter the extra white spaces in the html source. # The strip filter...
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 list of Web Content articles that have the "alert(" Javascript code in...
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 redeploy the entire Liferay service. Environment Liferay PaaS Resolution To...
Is there a way to bypass CAPTCHA without having to disable it?
Issue We will do some Automation tests in our QA environment and would like to know if it is possible to bypass CAPTCHA using configuration settings without having to disable it. Environment Liferay DXP 7.4 Resolution A way out of the box to not require CAPTCHA for authenticated users...
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 worrying about dependencies on Liferay code or developing a theme. Following are...
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 > Instance Settings > Localization. Make sure all languages are available.  Stop the...
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 dl.file.entry.conversions.enabled=true property in the portal-ext.properties file and restart 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 exporting SAML requests and responses in various browsers. It is a...
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 Information Running Scripts From the Script Console, content:...
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 ClamAV in Liferay PaaS. How to setup ClamAV in Liferay PaaS to antivirus...
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 field in your structure. Click on the Link option and choose 'Link to anchor in the...
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 website first, then the publication for pages and content? Create the...
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 OpenOffice integration as described at...
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 the 2 extensions   Environment Liferay DXP 7.4+   Resolution The...
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 case like this: Create a site S1 and in it create a web content...
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 To mitigate this vulnerability, update Liferay DXP 7.3 to Liferay 7.3...

該当件数: 1,393 件中 121 - 180