Search Results

ナレッジベース 1412
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Create custom API applications in Liferay
Issue Is there any way to create custom API applications without code? Environment Liferay DXP 2023.Q4. Resolution Liferay has created a new application to help developers build APIs based on custom objects in a...
If PaaS Environment Hangs after Upgrade Deployment Should we Rollback?
Issue During an update we observed an error on startup and so decided to rollback from 5.X to a 4.X version. However, when we tried to restart services the system would not recover, hanging indefinitely. Further, the...
Frontend taglib removed: 'liferay-frontend:html-vertical-card'
Issue After upgrading to 7.4+, we noticed that some frontend taglibs have been removed, such as liferay-frontend:html-vertical-card. Is there any replacement for it? Environment Upgrades to DXP 7.4+ Resolution As per...
Is it possible to use a hotfix when building my custom code?
Issue I have been provided with a hotfix, and I want to compile my custom code using that hotfix from my Liferay Workspace. Environment Any Liferay DXP version Liferay Developer Tools Resolution There is not an easy...
A simple example and key factors to check when testing custom OAuth 2.0 applications
Issue You have created an OAuth 2.0 application and would like to set up the minimum configuration to be able to test it. This article provides a simple example that could be adapted to your needs....
How to programmatically add a form entry with API?
Issue I am currently working with a Liferay form. I am attempting to submit a new record to this form using the /ddm.ddmforminstancerecord/add-form-instance-record API via JSON Web Services (JSONWS). This API requires a...
Is it possible to filter the Account Selector search results to exclude fields?
Issue I would like to add a filter to the Account Selector fragment so that it excludes selected matching fields from the search results. For example, I would like to exclude any results with Account IDs that...
How to create a read-only field in a form
Issue When you are creating a form, sometimes you want to create a field that is read-only because, for example, it is automatically populated by taking information from an API or a database, and you don't...
Download Liferay Quarterly Releases Using the Linux Command Line
Issue I want to download Liferay using the Linux command line rather than going through a web browser. Environment Liferay DXP Quarterly Releases Resolution Liferay offers a release directory that can be downloaded...
Unable to upload blog images after upgrading to 2024.Q1.1
Issue After upgrading to 2024.Q1.1, I no longer have the option to upload blog images within a blog post. This was implemented due to a potential security vulnerability with actors being able to upload offensive or...
How to determine when a certain ddmfieldattribute record was created?
Issue I am  writing a Groovy script to remove certain sensitive data created before a specific date, so that the Liferay database can be shared with support . One of the tables that contains sensitive data is...
Virtual product order status and tax
Issue Require the following with the virtual product: No need for user personal data and would like to remove it for checkout. The order status should moved to completed status directly after the payment....
Can we hide the External Video Shortcut option?
Issue We want to hide the above-mentioned option from the Documents and media because we don't want our users to be able to add videos, can we do it somehow? Environment Liferay DXP 7.4+ Resolution It is...
Override default freemarker error template
Issue You need to change the default behavior of the default freemarker template showing the entire error code and want to show a different template instead Environment Liferay DXP 7.2+ Resolution Even though...
Changing the default Mail Domain in DXP
Issue In Liferay DXP, is it possible to configure the default email domain used during user creation? We'd like new users to have email addresses ending in "@example.com" instead of "@liferay.com". Resolution Go to...
Access revoked after task assignment to another user
Issue Once the user assigns the task to another user, then the previous user loses access to that task and is unable to see that in the 'Assigned to my roles' tab of 'My workflow Tasks'. Steps to reproduce: 1....
Translating static texts with Fragments
Issue Translating static text with the help of fragments and language overrides Environment Liferay DXP 7.4 [all updates] Liferay DXP 2023.Q1 Liferay DXP 2024.Q1 Resolution Step 1: a) Navigate to Applications...
Permissions assignments only save the most recently viewed page's selections
Issue When assigning permissions to Documents or Web Content assets, after selecting permissions for users on the first page, navigating to the second page, and saving, only the permissions selected on the second...
When adding a User to a child organization, it automatically assigns them to the parent organization
Issue I've observed a difference in behavior when assigning a User to a child organization. DXP 7.2: the user would only be assigned to the child organization and not the parent organization. Quarterly Release: the...
Unable to see the list of assignees for Site Roles, Organization Roles, Asset Library Roles and Account Roles
Issue I would like to access a list of Roles and Assignees for "Site Roles", "Organization Roles", "Asset Library Roles", and "Account Roles" without having to go through each individual account to get...
Captcha does not appear on each submission attempt in the form
Issue Create a form by enabling the CAPTCHA and submit it for the first time, try to submit it again, then the CAPTCHA will not appear. Steps to Reproduce: 1. Start the server. 2. Navigate to the Site Menu >...
How to define user and email notifications for each asset
Issue I want to disable email notifications for blogs How to configure notifications for each asset to receive them by email or as user notifications. Environment DXP 7.4 Resolution It is possible to choose the...
How do you create a role that allows a user to edit details of other users?
Note, this is just one method and can be tailored to different preferences. Issue How do you create a role that can edit the details of other users? Like email address, etc. How do you create and assign a...
After Upgrading to DXP 7.4+, there's an extra field within our structures
Issue After upgrading from DXP 7.3, we've observed that our structures have been modified and there is an extra "Fields Group" added to it.    Environment DXP 7.4+ Quarterly Release Resolution This is the expected...
Default Language code is not appending in URL
Issue The default language code is not appended in every URL of the portal. Environment Liferay DXP 7.4 [all updates] Resolution To enable the default language in every URL, the following property needs to be...
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....
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...
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...
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...
Add a flag icon for language in web content
Issue Need to add language flag icon in web content Environment Liferay DXP 7.4 Resolution Please note: The following information involves customizations or implementation ideas that are beyond the scope of...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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....
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...
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...
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...
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...
"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)...
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...
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...
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...
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...
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...
'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...
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...
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...
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...
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...
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...
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....
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...
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?...
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...