Search Results

ナレッジベース 1400
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Customizing pagination delta values at instance/site level
Issue The pagination options for search results (e.g., the number of items displayed per page) are controlled globally by the search.container.page.delta.values property in the portal-ext.properties...
Unable to get session state in 7.4 with call that worked in 7.2
Issue When trying to use Liferay.Session to get the session state I get a null value (utilizing specifically javascript and call Liferay.Session.get("sessionState") and the below error. This worked in 7.2, but does not...
Is there a way to customize URLs by Web Content Structures?
Issue We would like to know if there is a way to customize URLs by web content structure for SEO purposes. Currently, friendly URLs for web content use the /w/ separator, which can be customized since 2024.Q2. See...
Configuring OAuth2 for Message Board Mailing Lists
Issue Basic authentication for emails is no longer available for Gmail, can we use OAuth2 connection with them? Google Workspace has announced that third-party apps that use only a password to access Google...
Changing the site logo
Issue How do I change my site's logo in 7.4? Environment 7.4 Resolution Open the Site Menu () and navigate to Site Builder → Pages. Click Options () in the Application Bar and select Configuration. Under Logo,...
How to set two Liferays as separate SAML and IdP servers?
Issue How to set two Liferays as separate SAML and IdP servers? Environment Liferay DXP Quarterly Release Resolution Configure and setup first bundle: Add portlet.session.replicate.enabled=true to...
Controlling Role Visibility via Headless API
Issue The /o/headless-admin-user/v1.0/roles API exposes all system roles, potentially revealing sensitive information about permission structures, user roles, and their associated components (portlets). Environment...
Make certain pages accessible to specific IPs only
Issue How to make certain pages to be accessible only via specific IPs. Environment Liferay DXP [all versions] Resolution In order to allow certain pages to be accessible via specific IPs, users can perform...
GZIP filter disabled by default
Issue GZIP filter is not enabled after upgrading from DXP 7.0. Environment DXP 7.0, 7.1, 7.2, 7.3, 7.4 Resolution This functionality has been disabled due to the potential security risk over HTTPS. ...
Change the trace level for code_jsp
Issue How to change the trace level for the following 'WARN', code-404: WARN  [default task-2629][code_jsp:154] {code="404", msg="Not Found", uri=/code.png Environment Liferay DXP 7.3 Resolution The user can...
Calling OSGI Service in fragments
Issue Is there an option/API available to call OSGI Services directly in fragments like it's possible using serviceUtil and staticUtil? Environment DXP 7.4 Resolution Yes, you can obtain this by...
Template to be part of VCS
Issue We are using Github as VCS for our modules and themes code. Structure and Template changes are done manually on the server and they are moved to next server either by export-import or we have to again make the...
SchedulerEngineHelper changes
Issue The register() and unregister() methods have been removed from SchedulerEngineHelper therefore you might encounter some issues in your code after you upgrade to a recent version Environment Liferay DXP 7.4...
Documents & Media URL format changed in DXP 7.4 u36+
Issue Document & Media Latest Version URL in DXP 7.4 u36+ has changed such that the groupid, folderId and UUID no longer is available from the URL. Previous upload URLs had a format of...
Cannot access actionMapping variable when overriding a StrutsAction
Issue When a StrutsAction is being overriden by a custom component, I cannot use the variable actionMapping in order to return an appropriate ActionForward object. Example: return...
Need to find the number of user visits to a page in the website
Issue Need to add the page hit count on a portal site to the audit report. Environment Liferay DXP [all versions] Resolution You can add page view events to your audit report, but keep in mind that doing so adds...
How can I get an upgrade tool for JBoss setup?
Issue While upgrading, and using the JBoss EAP 7.4 app server, users need the steps to complete the DB upgrade. Users have access to the upgrade tool in bundled Tomcat, but not in the JBOSS setup. Environment...
How do I change Tomcat's temp folder path to another?
Issue How can the Tomcat temp folder path be changed to a different path? Environment Liferay DXP 7.3 Resolution In order to configure Tomcat to use a different temp directory, users must first understand the...
Installing hotfix on weblogic server
Issue How to install the hotfix on weblogic server Environment Liferay DXP 7.0 - 7.4 Resolution Although this documentation explains Setting Up the Patching Tool in Weblogic, here are the easy steps Check...
How to get all sites or friendly URLs where the article is displayed?
Issue We are searching for a way to obtain where one article is displayed; based on the articleId. I did not find any clear way to achieve our goal in Documentation. The list should contain a list of friendly URLs or a...
Even if you disable the Terms of Use, the Terms of Use screen will appear when you log in for the first time.
Issue In DXP 7.3, "Control Panel > Instance Settings > Instance Configuration > Terms of Use > Require Terms of Use" is unchecked. After upgrading to DXP 7.4, a new Terms of Use pop-up will appear upon first login. Can I...
Stopping scheduled tasks in Liferay
Issue I would like to stop the out-of-the-box scheduled tasks in Liferay. Environment Liferay Portal Liferay DXP Resolution Most of the scheduled tasks included in Liferay can be found by searching for .check in the list...
Delay when fetching data from headless-admin-user/v1.0/user-accounts for the first time after server restart
Issue When running a REST API call as below:...
How to persist a Secret Environment Variable when deleting and redeploying a service
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue For business reasons, we have a custom service that we...
Approaching database support
Issue Approaching database support issues in the Liferay. Environment Liferay DXP 7.0 Resolution There are two ways to set up database connections in the portal-ext.properties file. If both JDBC properties and JNDI...
How to set up a clean bundle in your local environment
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...
Auto Upgrade in DXP 7.3 and Above
Issue Starting from Liferay 7.3, new upgrades for modules won't run automatically on startup by default. Resolution The following options are available to run the upgrades we may include in fix/service packs:...
How do I implement a JNDI database connection 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 Portal Administrators may require a connection to the...
How to manually remove / delete a portlet
Issue How can I completely delete a portlet so that I can redeploy an older version? When I uninstall a portlet from the App Manager, it's only Blacklisted and not uninstalled. How do I remove a custom module in...
Setting up Microsoft Server AD with Liferay
Issue This article provides you detailed steps to set up and configure Microsoft Server AD to Liferay. Environment Liferay DXP 7.1 Resolution Changing Computer Name: Control Panel → System and Security → System...
How to enable web content and user logs in server console?
Issue In this article, we'll know how to display logs of web content and user creation in the server console. Environment Liferay DXP 7.1 Resolution For Web Content logs: Navigate to Control Panel→ Server...
How to check Java's TZData (Timezone Data) version
Issue In countries where Daylight Savings Time (Summer Time) is defined each year the timezone data (TZData) can be outdated. This procedure can help you fetch the version of the TZData currently in use...
Documents and Media: Disable permission for users to add new folder
Issue A user assigned a 'Site Role' is able to create a new folder in Documents and Media How can I prevent a user creating new folders? Environment DXP 7.1    DXP 7.2    DXP 7.3    Resolution By default, Site...
Where can I get the database query logs for my Liferay PaaS project?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Where can I get database query logs for my Liferay PaaS...
JavaScript Loader OSGI config settings don't appear to be applied following an upgrade to 7.2+
Issue When upgrading to DXP 7.3, we moved our previously modified OSGi .config files to the new bundle, but the settings from the JavaScript Loader .config file do not appear to be taking effect, as the default...
Changes to Tomcat classloading order as of Tomcat 8+
Issue In Tomcat 7 and earlier versions, class loading for EXT JAR files were done in alphabetical order. However, with Tomcat 8 and later, class loading has been changed to be decided by the underlying file system....
Groovy Script to truncate the data of UserTrackPath Table
Issue If you want to truncate the data from UserTrackPath Table Environment Liferay DXP 7.2 Resolution Below is the Groovy Script which might help to truncate the data from UserTrackPath table. import...
Is it possible to schedule LDAP imports for a specific time of day in Liferay DXP?
Issue In Liferay Portal 6.2, it was possible to create a cron trigger in the liferay-portlet.xml file to accomplish LDAP imports for a specific time of day without creating a customization. These types of scheduled...
Is It Possible To Change Deployed War Location?
Issue The default location of the deployed war is ${liferay.home}/osgi/war folder. Is it possible to change the location?   Environment Liferay DXP 7.0+   Resolution You can use the following property to change the...
Cache Override
Issue This article describes how to override the cache in 7.0 taking into account two different aspects: EhCache settings and Replication settings. The first one implies creating a new module, while the second is...