Search Results

Knowledge Base 1400
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Embedding a Single Liferay Page in an iFrame
Issue I'd like to embed a form into other websites using an iframe so that guest users can fill and submit it. Content-Security Policy (CSP) configurations are instance-level, not page-specific. So, if I use the CSP...
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...
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...
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...
How to map Liferay site roles with Azure AD
Issue How to map Liferay site roles to Azure AD roles when configuring SAML? For example, if there is a role called Content Author under site roles, how to configure this role in Azure AD? Environment Liferay...
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...
Establish an external data source using JNDI
Issue Sometimes there is a requirement to use data sources other than Liferay DXPs. To do this, the data source can be configured via JNDI data source or JDBC properties. Any database other than Liferay DXP's...
'users.reminder.queries.enabled' portal property can be configurable from the UI on a per-instance basis
Issue Until now, the property 'users.reminder.queries.enabled' has been set to true or false per instance. However, after version DXP 7.3, the user is no longer able to do so (as the per-instance property file...
User should be re-directed to the custom page once the session expires
Issue Once the session expires, users should redirect to the custom page Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Resolution To redirect the user to any...
Establish an external data source using JDBC
Issue This article outlines how to set up a connection between Liferay and an external database using JDBC properties. Environment Liferay DXP 7.3 Liferay DXP 7.4 MySQL database Resolution There are two ways to...
How to include the gradle dependency of a module into another module project?
Issue How to include the Gradle dependency of a module (Workspace A) into another module (Workspace B) project? Environment Liferay DXP 7.2 Resolution Please Note: Please choose to follow your appropriate discretion...
Unable to delete navigation menu from page
Issue Unable to remove the navigation menu widget from the page. Environment Liferay DXP 7.0 Resolution It is the intended behavior of Liferay as there is an option to enable Hidden from Navigation Menu...
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 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...
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...
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 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...