Search Results

Knowledge Base 1403
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Screen name should not be required when Autogenerate User Screen Names is enabled
Issue When enabling Autogenerate User Screen Names, the Object Action still mandates a Screen Name field, which is an inconsistency. The aforementioned behavior can be reproduced by doing the following...
How to change the . (dot) characters to hyphens (-) in Web Content article friendly URLs?
Issue We have several Web Content articles where the friendly URL contains some dots and we would like to have hyphens instead. Changing them manually is not only hard but we would also like to implement a workflow to...
How to choose a default layout template
Issue We wonder if it is possible to configure a default layout to be chosen when a new widget  page is being created. Normally we do not use OOTB Liferay layouts, using our own developments instead (the red ones)....
Listing URL-s from Sitemap.xml
Issue Does Liferay have any tools or scripts which will allow us to get a list of all the URLs which are included in the full site map? Additional Information Change the Sitemap format in Liferay DXP: By default, the...
Why are Guest users able to edit Rich Text fields within a form?
Issue We created a form with a Rich Text field, but we see that guest users can edit the content in the Rich Text field (including the source). How do I disable the user/guest from being about to edit the text in...
Multi-Select Option Missing from Translation Interface
NOTE: The following resolution requires customization and should only be implemented at the discretion of your team. Liferay Support will not be able to assist with designing or implementing customizations....
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...
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...
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...
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...
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...
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...
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...
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)...
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...
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...