Search Results

ナレッジベース 1413
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Disable Footer Section
Issue How to hide the footer section("Powered by Liferay" section)? Environment Liferay DXP 7.2 Resolution The below steps can be followed to disable the footer section: 1) Go to Site Builder > Pages. 2) Click on the...
Adjusting Log Levels to persist after portal restart
Issue Log levels that have been adjusted through the Server Administration are reset after a server restart. I'd like the log levels adjustments to persist after restarts. Environment DXP 7.0+ Resolution Adjust log...
[CKEditor] Paragraph tag is appended to content in blogs by default
Issue We are using CKEditor instead of the regular editor. When putting some content into the HTML field while creating blogs <p> and </p> tags are appended by default. We would like to remove these tags or change them...
Groovy Script for deleting users from the database
Directly modifying the database is not advised because we are unable to provide assistance regarding the damage it might do. The suggested approach in these cases is a groovy script that uses Liferay's API....
Remove portlets programmatically with the removePortletId method
Issue I would like to remove portlets from pages programmatically (e.g. with a script or a background job) with the use of the removePortletId method, but without permission checking.  Environment Liferay DXP...
Is it possible to change how much memory Gradle uses during a Liferay PaaS build in Jenkins?
Issue Since our Jenkins builds are using Gradle Daemons, we would like to increase the memory available to control how much memory Gradle uses, so that it is increased from this default: org.gradle.jvmargs=-Xmx512m...
Avoid user login after every session timeout
Issue On every session expire it is asking for user login again Environment Liferay 7.0 Resolution Login after each session timeout is the default functionality of the Liferay portal. In order to avoid login after...
Is there any way to retrieve the User account's creator
Issue Is there any way or SQL statement to retrieve the User account's creator? Environment Liferay DXP 7.0 Resolution There have two ways to retrieve the User account's creator. The user account's creator can be...
How to check the number of retained sessions
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...
How to configure the displayed time zones?
Issue It is widely documented that Liferay does not recommend changing the JVM time zone and that I should leave it as GMT. (See references under Additional Information). But me and my users are from different time...
How to view and construct an adaptive media URL for a document
Issue You might have some trouble in figuring out how the URL for Environment Liferay DXP 7.2+ Resolution Guide through an exact example: The URL pattern you should use looks like this:...
How to update and deploy only a single service 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 Is there any way to deploy updates for only one Liferay PaaS...
How can I change the email template of the Password Changed Notification?
Issue When the password is changed, users get a notification email. I would like to change the template of that email. Environment Liferay DXP 7.0+ Resolution Navigate to Control Panel > Configuration > Instance...
How to find the default CKeditor version in the Liferay instance
Issue How to find the default CKeditor version in the Liferay instance. Environment Liferay DXP 7.0 Liferay DXP 7.2 Resolution Steps to find the version of the CKeditor in the Liferay instance: In the portal, click...
How can I disable the Document Library File Rank Service in DXP 7.1 and 7.2?
Issue I would like to disable the Document Library File Rank Service In Liferay Portal 6.2 and DXP 7.0, there used to be a property which is now removed: dl.file.rank.enabled=false Environment Liferay DXP 7.1 Liferay...
Not able to download the logs of more than 10000 lines
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 download more logs as the default "Download...
Read the data of portal-ext.properties from custom portlet
Issue How to read the configured properties in the portal-ext.properties file from the custom module or custom portlet? Environment Liferay DXP 7.1 Resolution Please Note: The following procedures involve...
Configuring multiple virtual hosts so that both www and non-www can be used
Issue To configure multiple virtual hosts on one site(for example, both www.aaa.com and aaa.com). The Virtual Host can not be configured by using both of the different hosts. Environment Liferay DXP 7.2 Resolution...
Deploying Liferay 6.2 SP 15 on Jboss EAP 6.2
Issue This article will outline a basic walkthrough on how-to deploy Liferay 6.2 SP 15 on Jboss EAP 6.2 specific to EAP version.          Environment Liferay 6.2 JBoss EAP 6.2  Resolution Prerequisite Download...
I cannot configure the "Look and Feel" of widgets on the Content Page
Issue A new Content Page is created and a widget is added to it. There is no kebab menu on it (3 dots) and there is no Look and Feel Configuration button either. Environment Liferay DXP 7.2 Resolution The menu is no...
The work folder is no longer appearing since DXP 7.2 SP1
Issue After updating to SP1 (fix pack dxp-2) on DXP 7.2 the $[Liferay-home]/work folder is no longer there or no longer generates new content Environment DXP 7.2 SP1 or above. Resolution The $[Liferay-home]/work...
What configuration needs to be done to bypass the proxy in Liferay?
Issue What are the proxy configurations to be done at Liferay to bypass the proxy available in the network? Environment Liferay Portal 6.2 Liferay DXP 7.0, 7.1, 7.2, 7.3, 7.4 Resolution The configurations...
Read the data of portlet.properties from custom portlet
Issue How to read the data from the portlet.properties from the custom portlet? Environment Liferay DXP 7.1 Resolution Please Note: The following procedures involve customizations that are beyond the scope of Liferay...
How to Change the Session Timeout Value
Issue How do I modify Liferay's default session-timeout of any logged-in user? Environment DXP 7.2 DXP 7.3 DXP 7.4 Resolution This value is set on the [App_Server_HOME]/webapps/ROOT/WEB-INF/web.xml file....
How to automatically log thread dumps when the portal is too slow in Liferay?
Issue How to automatically generate thread dumps when the portal is slow? Environment Liferay Portal 6.2 Liferay DXP 7.0,7.1,7.2,7.3, and  7.4 Resolution Liferay has provided the below two properties which...
How to identify the filename for a System Settings configuration file
Issue This article documents how to determine the filename that should be used for a Systems Settings configuration file (.config) that can be inserted into $LIFERAY.HOME/osgi/configs. Why? The creation of System Settings...
How to generate the crt and key of a certificate on base64 for a custom domain on 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 As stated on this documentation you'll need to add both the...
How to disable Scripting Console
Issue Even if Scripting Console is restricted to those with the server administration role, we would like to disable this scripting functionality in our 7.0 portal. Environment DXP 7.0 Resolution Scripting from...
How to Configure Multiple Site Names with Different HostNames
Issue How Multiple Sites can be configured with Different HostNames in the portal? The below example illustrates the requirement. If there are two sites Site A and Site B then, 1) Site A should be mapped with...
CacheFilter Expiration time
Issue The cache filter caches processed web content.  To change the cache expiration time to live ehcache.xml needs to be modified. So where can we set the expiration time. Environment Liferay DXP 7.0 Resolution The...
Login issue when configuring the SSL on JBoss EAP 7.0
Issue Login issue when configuring the SSL on JBoss EAP 7.0 Environment Portal: Liferay DXP 7.0 Application Server: JBoss EAP 7.0 Operating System: Ubuntu 19.04 Resolution Please Note: The following procedures and...
How to delete page scope
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...
Why is the server now timing out users after 15 minutes instead of 30?
Issue After updating past de-68 for Liferay DXP 7.0 or past dxp-5 for Liferay DXP 7.1 users are now timing out after 15 minutes. Environment Liferay DXP 7.0 using the Tomcat application server Liferay DXP...
Upgrading from Liferay DXP 7.1 to 7.2
This paper is a high-level overview of the effort involved in moving from Liferay DXP 7.1 to 7.2. It contains an upgrade checklist, the upgrade steps, and what to do after a successful...
About automating the setup wizard
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...
Logging Mechanism for Liferay Database Pool
Issue 1. How to increase the logging around connection pool which can help to understand the activities within the connection pool? 2. What other container-managed database connection pool can be used instead of c3p0?...
Blogs Image Properties Moved to OSGi Config
Issue After installing 7.2 fix pack 1 the blogs.image.max size and blogs.image.extentions settings do not persist. Resolution The blogs.image. portal properties have been modularized and need to be set in the Control...
How to check which applications you have installed from Marketplace
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...
When I shut down DXP from the Control Panel, the end users get a blank page and no warning message
Issue I go to Control Panel > Server Administration > Shutdown and shut down the server After DXP was shut down and I refresh the page, only a blank screen appears There used to be a warning message in Liferay 6.2...
How to remove unnecessary parts from the URL / shorten URL / make URL friendlier
Issue We would like to remove the web/guest part of the URL, to shorten it e.g. http://www.example.com/web/guest/home-> http://www.example.com/home  Environment Liferay Portal 6.2 Liferay DXP 7.0-7.4...
How can I execute a bulk update of the time zone of all users?
Issue After installing Liferay and creating all users, customer has realized that Liferay instance and all users are configured with the default timezone (UTC) but it should be updated to a correct one (ie: Europe/Paris)...
How to get the total number of documents once migrated from File System to DB Store?
Issue If the data is moved from the File System to DB Store, then how to get the number of documents from the portal. Environment Liferay DXP 7.0 Resolution When DB Store is used as a repository, the files...
Page not found (404) redirects to the 'default' (Guest) web site
Issue When an incorrect URL is hit on the portal, the "The requested resource could not be found" error or Page not found error redirects to the default site and not to that particular site. Environment...
Setting different landing pages on different cluster nodes upon session timeout
Issue The users have to be redirected to different pages - depending on the nodes -, when the sessions expire. A possible use case: One of the Application Servers is an admin server, thus the admins need to...
How to programmatically undeploy a module in DXP 7.1?
Issue I want to undeploy a module from my code, usig API I tried using DeployManagerUtil.undeploy(context), but nothing happens Environment Liferay DXP 7.1 Resolution If you are trying to undeploy a module by its context...
How Liferay portal upgrades the content?
Issue The portlet id('s) which has included in the content of the web content portlet is not getting updated after upgrading the portal. Environment Liferay portal 6.2EE Liferay DXP 7.0 Resolution How Liferay works?...
Change root context to custom context
Issue How to change the portal context from ROOT to something else? Can I append "xxx" to all the portal URL? Environment Liferay DXP 7.4 Liferay DXP 7.3 Liferay DXP 7.2 Liferay DXP 7.1 Liferay Portal 6.2 JBoss EAP 7.1 /...
How to know which of the nodes is being displayed
Issue On a cluster environment, sometimes its helpful to know in which of the nodes you are. This could be useful to check the load balanced or cluster replication issues. Environment Portal 6.2 DXP 7.0 DXP 7.1 DXP...
WildFly Bundles for DXP 7.1 and Above
Issue Why am I not able to find a WildFly bundle download for DXP 7.1? Environment Liferay DXP 7.1 Liferay DXP 7.2 Resolution Starting with Liferay DXP 7.1 SP2, Liferay will no longer be releasing Wildfly...
How to add security, authentication to my REST service?
Issue We developed a REST service and it works. But we need endpoint security. At the moment it is available without any credentials. We do not want to give access to a REST Web service without credentials.  How can...
Where to find the default system.properties file
Issue Where to find the available properties and its default values from the original system.properties used by the portal Environment DXP 7.1 DXP 7.0 Portal 6.2 Portal 6.1 Resolution You can find the portal-impl.jar...
Where to find the default portal.properties file
Issue Where to find the available properties and its default values from the original portal.properties used by the portal Environment DXP 7.1 DXP 7.0 Portal 6.2 Portal 6.1 Resolution You can find the portal-impl.jar...
I want to hide the password expiration warning message.
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...
Adding Portlet Configurations at Instance and System Level
Issue How to rename the category and section. It should be excluding the substring "category."? How the configuration will be accessible under settings? Environment  Vanilla bundle DXP 7.1 SP2 pre-bundled with dxp-10...
How to modify Terms and Conditions
Issue How to modify "Terms and Conditions" which are displayed when a user logs in for the first time in the portal? Environment Liferay 7.0 Resolution Adding the custom Terms and Conditions involves the...
How to check if an LPS or LPE fix is included in a Fix Pack
Issue How do I check if a certain fix (exp. LPS-XXXXX) is included within a Fix Pack? How do I check if a certain fix (exp. LPE-XXXXX) is included within a Fix Pack? Environment Liferay DXP 7.2  Resolution Step1:...
Knowledge base AssetCategory API
Issue I want to automatically categorize knowledge base articles. I have built the functionality to download articles, assign categories, and save them back. What I am missing is the ability to get the existing...
Setting Site Member Role Permissions
Issue How can I change/edit permissions for a Site Member Role? Environment Liferay 7.0 Liferay 7.1 Resolution Permissions for the Site Member Role can be found at: Control Panel > Users > Roles > Site Roles Tab >...
Users with no email address should be able to log in and access the portal.
Issue Users having no email address should be able to log in and access the portal. Environment Liferay DXP 7.0 Liferay Quarterly Releases  Resolution Creating a user with no email address. By setting the...
Import and authenticate users from a particular group in Active Directory
Issue Instead of importing and authenticating all users from Microsoft Active Directory (AD), I would like to only import and authenticate users from a particular group in AD. Environment Liferay DXP 7.3 Resolution In the...