Search Results

Knowledge Base 1395
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Insecure HTTP methods
Issue HTTP methods like HEAD, OPTIONS, TRACE may provide information about the application that can be used in attacks like XST, CSRF, steal of sensitive information. How we can disable insecure/unnecessary http methods? How to enable the SECURE attribute to disallow the cookie to be...
Updating your DXP fix pack version in Liferay PaaS while remaining on a specific service stack
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Update the Liferay image to a specific docker image but stay on a specific service stack. Environment Liferay PaaS Resolution...
Multipage form does not save data to the DB while navigating to next page
Issue While using a form with multiple pages, the user has a requirement to save data to the database on the first page before moving to the second page. Environment Liferay DXP 7.4 Resolution Multi-page forms do not have the functionality of saving the data to the database on each page,...
Liferay Push and Mobile SDK replacement in 7.4
Issue We have a mobile app created using mobile SDK in Liferay DXP 7.0 and we want to know how to port it to DXP 7.4. Is Liferay Push available for Liferay DXP 7.4? Environment Liferay DXP 7.4 Resolution Liferay Push Liferay Push has been deprecated since Liferay DXP 7.3. There is no out...
Can I allow some users to solely authenticate via a SAML, while the remaining users authenticate with their Liferay password?
Issue This article describes a use case where it may be desirable to allow some users to authenticate through a SAML Identity Provider (IdP) only, while other users authenticate with their Liferay credentials in the Login portlet. Environment Liferay DXP 7.4 Resolution While the solution...
Editor default configuration changed from ENTER_P to ENTER_BR on DXP 7.3 U-5
Issue Editor default configuration changed from ENTER_BR to ENTER_P on DXP 7.3 U-5; Environment DXP 7.3 Resolution We found this commit on LPS-148819 witch changes the default value of ENTER_P (see #use-enter-mode-p) to ENTER_BR: .put("enterMode", 2) In U-22 ticket LPS-176361 has been...
Adding Priority Value to sitemap.xml
Issue The priority value is important for search engine optimization (SEO) as it helps to understand the relative importance of different pages on a website. How to add the priority value in the generated Liferay DXP sitemap.xml? Environment Liferay DXP Resolution We can set a default...
Terms of Use jsp page is missing
Issue Prior to Update 31, there was a terms of use JSP page located in {TOMCAT_HOME}\webapps\ROOT\html\portal that could be used to customize the Terms of Use page Starting with Update 31, that terms of use JSP page is no longer located there Environment Liferay DXP 7.4 Resolution...
Where can you create/use Analytics Cloud custom events in Liferay?
Issue We want to send custom events to Analytics Cloud from our Liferay DXP instance. How can we do this? Environment Liferay DXP Analytics Cloud Resolution For everything else, you can use Custom Events by using any feature of Liferay that supports Javascript, such as Pages' Javascript...
How to remove the button/menu of Publish To Live from web content, page, and documents and media
Issue How to remove the button/menu of Publish To Live from web content, page, and documents and media page documents and media web content Environment Liferay DXP 7.1 Resolution The Publish To Live button/menu is controlled by permission. In order to hide/remove these options, the...
Customize/Extend the out of the box classic theme
Issue I would like to base my custom theme on the out of the box classic theme. Environment Liferay DXP 7.1+ Resolution Please read Creating Themes Then create a folder and open terminal Instead of yo liferay-theme, use the command yo liferay-theme:classic --themeVersion=5.0.71 to...
Cannot enable access to ServiceLocator in Liferay 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 enable access to ServiceLocator in my Liferay SaaS environment Environment Liferay SaaS DXP 7.4 Resolution Due to the...
How to get a list of Omni Admin users in Liferay?
Issue I would like to get a list of the Omni Admin users of the Portal. Environment Liferay DXP 7.0+ Resolution Please run the attached script: GetCompanyAdminUsers.groovy  Additional Information Running Scripts From the Script Console, content:...
How to Configure Liferay Workspace for Live Development of Frontend Client Extensions
This feature is available from Liferay Workspace 6.1.0 How to create a custom client-extension.yaml file to allow deploying different configurations depending on the need. What is it? Liferay Workspace now supports creating custom Client Extension "Profiles" to deploy different...
Disabling jQuery in Control Panel
Issue I've found vulnerabilities in our current jQuery version. Since I can't find jQuery used anywhere, I would like to disable it. Environment Liferay DXP 7.2 Resolution Go to Control Panel --> System Settings --> Third Party --> jQuery Tick off the Enable jQuery checkbox Save,...
What is DSLQuery and how can it be used?
Introduction DSLQuery is an acronym for Domain Specific Language Query. The foundation is based upon using a domain specific language for the implementation. This is going to make the writing of queries and other logic more natural than what would have been built for...
Is the AVIF file format supported by Liferay?
Issue We would like to generate previews for the AVIF file format. Environment Liferay DXP 7.4 Resolution Liferay supports AVIF after merging LPS-182691: 7.3 U28 7.4 U78 If needed, you can request a hotfix by raising a Support ticket. Additional Information Once the fix is added, the...
Issues with CKEditor's Tag Hierarchy in the footer of CKEditor
Issue The availability of the tags hierarchy in the footer of CKEditor is missing when it used to be there. Environment DXP 7.2 Resolution Liferay has stated that this is intended behavior as the CKEditor was updated and some features have been changed and/or removed.  These features can...
Change the timezone in the Liferay's official Docker Image
Issue How to modify the OS-level timezone in Liferay's official Docker Image? Environment Liferay DXP 7.4 Resolution Please note: The following information involves customizations or implementation ideas that are beyond the scope of Liferay Support. Please exercise appropriate discretion...
How to set custom page for "You do not have the roles required to access this portlet" error
Issue Custom pages for 404 errors can be easily configured in DXP; however, how can a custom page be designed for the "You do not have the roles required to access this portlet" error? Environment Liferay DXP 7.4 Resolution There is no OOTB functionality to achieve the requested...
Disallow strangers to create accounts
Issue Stranger account creation is configurable through Instance Settings and portal.properties Environment Liferay DXP Resolution Stranger account creation can be enabled/disabled through any of the following mechanisms: Control Panel > Instance Settings > User Authentication > Allow...
Defining file extensions for Document Library documents
Issue Is it possible to define what file extensions are allowed to upload into Document Library? Environment DXP 7.1+ Resolution This configuration is done through UI : Control Panel -> System Settings -> Documents and Media -> SYSTEM SCOPE -> Service -> File Extensions sections Every...
Not Found page seen instead of Login Prompt when logged out and navigating to private pages
Issue When not logged in, and user attempts to navigate to private page's URL, instead of being prompted to log in, a 'Not Found' page is seen instead. Environment DXP 7.4 Resolution In DXP 7.3, when users are not logged in and they navigate to a private page's URL, they are prompted to...
Accessing to Objects custom fields in an Aplication Diplay Template
Issue I'm configuring a search results ADT for a custom Object. By default I can choose, in the available variables, the title, author, etc. But I need to access custom fields of the Object as well. Environment Liferay DXP 7.4 Resolution Search for the service endpoint in the API console...
Is it possible to set the left-side flyout Menu in Liferay DXP 7.3?
Issue Starting from DXP 7.3, the Control Panel  is accessible via the waffle Applications Menu replacing the left-side flyout Menu. Is there any setting that will allow me to bring back the traditional DXP 7.2 Menu? Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution You can switch to...
How to change Menu Display widget default display template
Issue When configuring a Menu Display widget the default display template can be changed. Environment Liferay DXP Resolution Can be changed through System Settings > Content and Data > Navigation > Navigation Menu Template, content:...
Remote App is not being Published to the Remote (Live) Server
Issue When attempting to publish a Remote App from Staging to Live in DXP 7.4, the App is successfully sent to the Remote Server and .js and .css files can be seen in Documents and Media. However, after registering the client extension in Live, the App is not rendered on the page....
How can I find valid Workspace Product Keys to configure for liferay.workspace.product in gradle.property?
Issue What "product keys" are valid to configure for the liferay.workspace.product= property in gradle.properties? How can I select the proper "product key" value for Liferay Workspace? Environment Liferay Workspace DXP 7.0+ Resolution For Quarterly Releases: There is a new index file:...
How to delete the web content article version via groovy script?
Issue Users need to delete the web content article version with the help of the groovy script. Environment Liferay DXP 7.4 Resolution Please Note:  The below script is only a template that is meant to serve as a starting place to go off and develop your own custom script at your team's...
How to know the pages that have added a specific Portlet
Issue Is there a way that allows me to identify which portal pages have added a specific portlet based on the Portlet ID? Environment Liferay DXP 7.0+ Resolution Please run the attached script: ListSpecificPortletPages.groovy  Replace \'portletId\' with the specific Portlet ID, e.g.:...
Can I specify multiple roles for workflow notification settings?
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 Can I specify multiple roles for workflow notification settings?...
Stop Elasticsearch from analyzing words that are a company's proper name
Issue We would like Elasticsearch to stop analyzing words that are the company's proper name. For example, if our company is called "Smiths" we want to avoid Elasticsearch to analyze that word and drop the trailing 's' Environment Any Liferay DXP version Resolution How to customize the...
AssetEntryLocalServiceUtil.getAssetCategoryAssetEntries(long categoryId) deprecated and not used on DXP 7.3
Issue When trying to return the entries for a specific AssetCategory with AssetEntryLocalServiceUtil.getAssetCategoryAssetEntries(long categoryId) on DXP 7.3 you get zero results, even if you have a category and some web contents assigned to that category. Steps to reproduce this issue:...
How to hide 'Content Performance' icon for every user
Issue The 'Content Performance' icon should be hidden for all default users with 'Administrator' or 'Content' roles. Environment Liferay DXP 7.4 Resolution Navigate to Control Panel> System Settings> System Scope> Bundle Blacklist> Module container> Blacklist Bundle Symbolic Names> fill...
How to show only certain file types to a group of users?
Issue I want to show only certain file types to some users. For example: they should see .doc and .pdf only but not .xls Is it possible to hide/show documents based on extensions? Environment Liferay DXP 7.4 Resolution While it is not possible to hide or show documents based on their...
How to modify existing Email template for announcements
Issue Is there any OOTB option to modify the announcements email template? Environment Liferay DXP 7.4 Resolution The template for the subject and body of announcement emails contained in the files emailsubject.tmpl and emailbody.tmpl, as per the below property. # # Env:...
How to monitor who and what deleted pages or any data
Issue I would like to check who and what deleted pages or data from the Liferay system. Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution There are two ways of checking who and what deleted data: 1. From the UI by utilizing the Audit option, by going to the main menu on the upper...
I want to restrict access to certain documents to a single user
Issue I am using Documents and Media to upload files. Some of the documents must be restricted for a single user. The user must access a list of documents that only he/she is able to see. Environment Liferay DXP 7.2+ Resolution By default, Liferay DXP has a role-based permissions system....
How to achieve antivirus scanning for file uploads to Documents and Media in an Liferay PaaS 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'd like to have the DXP functionality described at...
How to replicate a production environment into a non-production one?
Issue In order to test new developments, we want to set up a test environment that is a copy of the production environment to confirm that we will not have problems in the subsequent deployment in production. How can we approach this operation? Do you have any official guide for this or...
How to display a video from Documents and Media onto a page using the Video Widget
Issue We want to add a video from Documents and Media onto a page using the video widget. However, the Video Widget requires a URL.  Environment DXP 7.3, DXP 7.4 Resolution Here are the steps to displaying any video from your Documents and Media Library unto a Page, using the Video...
How to install Elasticsearch plugins in offline mode
Issue Sometimes customers don't have internet connection on their Production environments and want to install in offline mode the required Elasticsearch plugins: analysis-icu, analysis-kuromoji, analysis-smartcn, analysis-stempel Environment DXP 7.0 or higher Resolution We will take...
Non-localizable fields default language
Issue In which language are the web content non-localizable fields displayed? Environment DXP 7.4 Resolution By default, the non-localizable fields will allow you to enter the translation only for the site's default language. However, it is possible to change the default language of the...
How to set SameSite cookie attribute to Strict within Tomcat
Issue How can I adjust the JSESSIONID cookie's SameSite attribute from None to Strict? Environment Liferay DXP 7.1 - 7.4 Resolution The JSessionID cookie's attributes are set by your application server or web server. When using a Liferay environment with a bundled Tomcat application...
Getting Portal version and Patch level
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue This article describes how to get the Portal version and Patch level in the UI. Environment Liferay DXP 7.0+ Liferay PaaS 7.0+...
Update packages and regenerate your custom theme with the latest available in order to solve accessibility or style related bugs
Issue Sometimes in order to solve user interface bugs (like accessibility or style related), our customers need to update their custom themes with the latest versions available of liferay-frontend-theme-unstyled , liferay-frontend-theme-styled and liferay-font-awesome This is needed...
How to create custom events in Analytics Cloud?
Issue I would like to create a custom event, but after checking the official documentation, I am unsure about the steps. Environment Analytics Cloud DXP 7.0+ Resolution Please follow these steps to create a simple custom event. DXP 7.0+ Widget Pages' JavaScript Field Go to your Liferay...
How to remove guest's view permission on documents in the Search result page.
Issue How to remove guest's view permission on documents in the Search result page. Environment Liferay DXP 7.3 Resolution To remove the guest's view permission on documents in the Search result page, user can remove view permission for the DM home folder for the Guest role. Steps: Open...
How to hide Commerce from the Mega Menu
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 I want to hide the commerce section from the mega menu. Environment DXP...
Can a user upgrade from Liferay 6.1 to DXP 7.4.x?
Issue Do I need to follow the upgrade page mentioned in the below article for example: Liferay Portal 6.1.x → DXP/Portal 7.1 → DXP 7.4: Environment Portal 6.1 DXP 7.4.x Resolution Ensure parameter "feature.flag.LPS-157670=true" is in the portal-ext.properties file. Using the DBUpgrader...
ratings-score tag could not be used when updating from 7.0 to newer versions.
Issue In 7.0 (or a previous version) a custom development is using  <liferay-ui:ratings-score> tag. When this custom code is updated to be used in a newer version (for example, 7.4) this tag is not found and could not be used. Environment 7.1+ Resolution This tag was deprecated and...
I want Liferay to fill the hreflang tag in pages only for translated languages
Issue Liferay generates an hreflang alternate url in the head of every page for every locale available for that site. If no translation is available for the content, it will be displayed in the default language. This way, if site crawlers scrape untranslated pages, they might flag them...
I want to hide "Disable" when using the "Date" item in Web Content Structure.
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 I want to hide "Disable" when using the "Date" item in Web Content...
I want to restart a service on my Cloud 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 want to restart a service (such as the Liferay service) on my Liferay PaaS environment. Environment Liferay PaaS Resolution Go to...
Non-Searchable Web Content is appearing in Asset Publisher
Issue Web Content with Searchable option turned off is still showing in Asset Publisher Environment DXP 7.4, DXP 7.3 Resolution Non-Searchable Web Content appearing in Asset Publisher is now the intended behavior for DXP 7.3 and 7.4 (LPS-141570). There is currently no configuration to...
Blueprint logger class
Issue How to get additional log information while working with Blueprint  Environment Liferay DXP 7.3 and 7.4 Resolution The generated search request can be retrieved by setting the log level forcom.liferay.portal.search.elasticsearch7.internal.ElasticsearchIndexSearchertoINFO in the...
How to configure an asset publisher RSS feed with a short redirect URL and specific number of items
Issue When configuring the RSS Feed in an Asset Publisher, I would like to have the URL in the RSS XML short without the long URL containing the "Redirect" part. I also would like to specify the number of items that will be displayed on the RSS XML. Environment Liferay DXP 7.2 Liferay...
How to replicate the Elasticsearch data when creating an Active-Passive Liferay environment?
Issue We are creating an Active-Passive Liferay environment, where the Liferay data from the filesystem and database of the active servers are replicated to the passive nodes of an external data center. We also want to replicate the Elasticsearch data to the passive nodes, is there any...
Cannot manage files uploaded to User Personal Folder (accessible from Web Content Upload field)
Issue Created a Web Content structure using the Upload field When a new Web Content Article is created, two upload tabs are available: User Personal Folder Documents and Media Where can we access and manage files that are uploaded to User Personal Folder? Is it possible to disable the...
Allow users to add content based on asset publishers
Issue Require permissions for a user to get an 'Add' option on a specific Asset Publisher. Steps to reproduce: 1) Role-1: User-1 is the Role-1 holder and Role-2: User-2 is the Role-2 holder. 2) Add an Asset Publisher to Page1 -> Asset publisher -> Permission -> Check all permission for...

Showing 301 to 360 of 1,394 entries.