Search Results

Knowledge Base 1395
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Using Zapier to Sync Object Data with Google Sheets
Introduction You can use Liferay Objects with data integration tools to create automated tasks for syncing Object data with external services. These tasks are triggered using webhooks and can connect to Google applications, Microsoft Office, and more. This recipe guides you through the...
Designing and Displaying Reusable Navigation Menus
Navigation menus for a site are typically tied strictly to a site's page hierarchy and structure. The Navigation Menus feature in Liferay is powerful because it enables you to create navigation menus that are decoupled from a site's page hierarchy. Liferay navigation menus can be driven...
Integrate Okta with Liferay DXP using OpenID Connect
Introduction This recipe guides you through the steps to integrate Okta, your Identity Provider (IdP), with your Liferay environment using OpenID Connect. Prerequisites Okta Dev account Liferay DXP environment Administrative access to Okta Admin Console Administrative access to Liferay's...
Building Multi-Step Business Forms
Introduction This recipe guides you through the basic steps to build a multi-step form. Prerequisites Liferay DXP environment An object definition with fields A user who has access and control to create and manage objects, display pages, and the ability to edit pages Steps Open the...
How to Configure PaaS to Push Metrics to Dynatrace Account
Issue What is the correct way to configure our new PaaS environment to push metrics to a Dynatrace account? Environment DXP 7.4 Resolution Set the following environment variables in LCP.json  LCP_PROJECT_MONITOR_DYNATRACE_TENANT → A string of characters that is part of the URL (prefix)...
Finding your Liferay Cloud location via egress IP address
Issue The ingress IP address of our Liferay Cloud instance shows a different location than expected.   Environment Liferay PaaS   Resolution The ingress IP address does not reflect the actual location of the specific regional data center where your environment is hosted. The ingress IP...
How to prevent a full day event from displaying on two days in the calendar's month view
Issue When creating an all-day event that spans from 12:00 AM on one day to 12:00 AM on the next day, the event appears on both days in the calendar month view. How can I ensure the event is only visible on the first day? Environment Liferay DXP 7.4+ Resolution In the example, the event...
How to deploy a custom JAR to the shielded-container-lib directory in my PaaS Environment
Issue I would like to know how to deploy a custom JAR to the shielded-container-lib directory of Tomcat in my PaaS environment. Environment Liferay PaaS Resolution Follow these steps: In your Liferay Workspace, create the following directory structure:...
Discrepancy in Batch Behavior: headless-commerce-admin-account vs. headless-admin-user
Issue We’ve encountered a discrepancy in how batch operations work for Accounts between the headless-commerce-admin-account API (now deprecated) and the newer headless-admin-user API. Previous Behavior (headless-commerce-admin-account) We used the POST /v1.0/accounts/batch endpoint to...
How can I disable the Commerce Wish List creation
Issue I have an issue with the commerce wish list table in the database. The table has lots of entries and it is growing more, even though we do not use the wish list feature. I would like to remove these entries and disable the creation of the wish lists. Environment Liferay DXP 7.1+...
Sorting Structures by Name in Liferay DXP
Issue The order of Structures when creating Web Content seems to be random. The structures are not sorted alphabetically or by modification date. Environment Liferay DXP 2024.Q2 Resolution Web Content Display widget Go to Control Panel > Instance Settings > Content and Data > Web Content...
Sending Individual Emails for Workflow Notifications
Background In a workflow, email notifications are sent to all users in a role as a single email with all recipients in the "To:" field. Objective The goal is to send individual emails to each of the recipients. If individual emails cannot be sent, a single email sent to a single...
How can I use environment variables to get the URL of other CX micro-services?
Issue Currently we can access the dynamic urls for DXP using the following variables. "LIFERAY_ROUTES_CLIENT_EXTENSION": "/etc/liferay/lxc/ext-init-metadata", "LIFERAY_ROUTES_DXP": "/etc/liferay/lxc/dxp-metadata" Is there a way we can access the same URLs for other CX micro-services?...
How to Redirect a non-www Domain to a www Domain in Liferay DXP
Issue How can I redirect traffic from my non-www domain (e.g., example.com) to my www domain (e.g., www.example.com)? Environment Liferay DXP 7.4 Quarterly Releases Resolution You can configure a redirect using Liferay's pattern redirect feature: Access your website and navigate to Site...
Setting a Site-Specific Display Page Template for a Web Content created from a Global Structure
Issue You are using a Web Content Structure that was created in the Global site so it can be shared across multiple sites. You need to set a default Display Page Template (DPT) for this structure, but you want the default to apply only to content created within one specific site, without...
Updating Parent Object Fields from Child Object Actions
Issue How to update a field's value in the parent object when a new child instance is created using object actions of the child object. Environment Liferay DXP 7.4+ Resolution Use a Groovy script Action triggered by onAfterAdd or onAfterUpdate on the child object to update the parent...
How to Exclude User Names (userName field) from Search Queries in Liferay
Issue We want to exclude the userName field from search queries. This is to prevent irrelevant search results based on user names. For instance, if a user's name contains a common search term, Liferay will return content and documents created by that user, even if the content itself does...
Dynamic Blueprint parameters with Search API
Issue Blueprints offer static filtering by field values, but a dynamic approach is needed where search fields enable filtering based on user-provided values for specific structure fields, Is possible to provide custom parameters to Search Blueprints? How can I create a search experience...
Custom Widget Gets Rendered Twice
Issue After defining a Custom Element widget and placing it on a page, it is observed that the widget is loaded twice. Sometimes this happens so fast that it is unnoticeable, other times a couple of seconds pass between the two renders. In the browser console, the double rendering is...
Is integration of mTLS possible in Liferay?
Issue We are required to use mTLS (Mutual Transport Layer Security) for certain requests Is it possible to integrate mTLS with Liferay? Environment DXP 7.4 Quarterly Releases Resolution Yes, it is possible to make the integration with mTLS Server side setup: Ensure the Identity Manager's...
I can select a Display Date in the past for a Web Content
Issue After creating a Web Content, when I go to the Properties tab > Schedule section, I can select a Display Date in the past. No error message appears when I save the Web Content with a past Display Date. Environment Quarterly Releases Resolution This is currently the expected...
How to Determine if JUnit is installed on Liferay Cloud
Issue How to determine if JUnit is installed on Liferay Cloud? How do users install JUnit on Liferay Cloud and integrate it with Jenkins? Environment Liferay Cloud Resolution JUnit is pre-installed on Liferay Cloud environments. To verify the JUnit installation and version within a...
How to clear the data folder of Glowroot in Liferay PaaS
Issue How to clear the data folder of Glowroot in Liferay PaaS. Environment Liferay DXP 7.4 Liferay PaaS Resolution To clear the data folder through the Glowroot UI. Follow the below steps: 1. Visit the site and log in. 2. Append /o/glowroot to the end of the site’s URL. For example, if...
Is it feasible to hide fields in the upload Section of Document and Media?
Issue Is there an OOTB feature to hide the following fields in the Document and Media Upload section? Document Type Display Page Categorization Expiration Date Friendly URL Related Assets Permissions Environment Liferay DXP 7.4 Resolution No, there is no OOTB feature available to hide...
How to change the generated OTP from alphanumeric to numeric in multi-factor authentication?
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. Issue The Multi-Factor Authentication (MFA) one-time password (OTP) is generated...
How to create Charts in Quarterly Versions
Issue The Chart Tag Library was removed in 2023.Q4 with no direct replacement. I would like to know how to create charts in a Liferay version higher than 2023.Q4. Environment 2023.Q4+ Resolution On GitHub, you can find an example of how our developers create charts in e.g. Content...
Vulnerability CVE-2024-52046 in Liferay DXP
Issue Is Liferay vulnerable to the vulnerability described in CVE-2024-52046? Environment Liferay DXP 7.3 and above Resolution Liferay uses the affected Apache Mina library (`mina-core`) only in LDAP-related code. If LDAP is not enabled, Liferay is not vulnerable. Apache Mina is used for...
Auditing the remote client IP address changed after upgrade
Issue After upgrading from Liferay 7.0 to a more recent Quarterly Release we are facing changes to the Audit_AuditEvent table, which was storing, in the clientIP column, the content of the 'X-FORWARDER-FOR' HTTP request header, which is meant to track the remote origin of the request....
Customizing Email Notifications in Forms application after upgrading to Liferay Quarterly Release
Issue In previous versions, we were customizing the email notifications sent by Forms application following the instructions of these articles: How can I configure or customize the look and content of email notifications sent after a form entry has been submitted? Is the Email...
Is possible to sort Object entries in a Collection Display Fragment?
Issue I'm using a Collection Display fragment to show objects. I need to apply some order to the list. Is this possible? Environment Liferay DXP 2024.Q4 Resolution Currently, the only way to sort object entries (with Collection Display) would be by creating a Dynamic Collection and use...
What URLs can be used to access my workflow tasks
Issue You may need to access a user's tasks without including their name in the URL or by explicitly including it. Environment Quarterly Release DXP 7.4+ DXP 7.3 Resolution Without User Identifier: It is possible to access my user tasks without including their identifier in the URL. For...
How to display form entries data which is submitted through form in user interface?
Issue Is there any way to view form entries in a grid format by clicking a button labeled "View Form Entries." ? Environment Liferay DXP 7.2 Resolution In Liferay DXP 7.2, the functionality to display form results in a grid format is unavailable. This feature was introduced in Liferay...
CKeditor extra plugins
Issue I would like to add extra plugins to CKeditor. I would like it to work in web content translator also. Environment Liferay DXP 7.3+ Resolution Go to https://github.com/balazsletai/sample-journal-editor-config-contributor/tree/master Follow the instructions in the README file  ,...
Including External JavaScript Libraries in Fragments from Documents and Media
Issue Need to use external JavaScript libraries that are uploaded to Documents and Media in fragments. Environment Liferay DXP 7.4 Resolution To include external JavaScript libraries stored in Documents and Media within a fragment: Upload your JavaScript (.js) and CSS (.css) files to...
How to check current Liferay Version in SaaS environments?
Issue Users in SaaS environments need to know what version of Liferay they are running. Environment 2024.Q2 LXC Resolution To check the current Liferay version, navigate to Control Panel > Instance Settings and look for the Liferay version header., knowledgeArticleType: howTo, legacy:...
Web Content Display scope site selector
Issue I cannot select content from other site different than Global and the current one. Environment Liferay 7.3, 7.4, Quarterly Releases Resolution The observed behaviour is the expected one: there is no current way of selecting a different site from the current one, Global or those...
Unable to redeploy a module
Issue After deploying a module and removing it via UI or tomcat bundle, it doesn't redeploy successfully. It gets stuck in a "Processing" stage.  Environment Quarterly Release DXP 7.4+ Resolution This is the expected behavior. When the module is uninstalled via the UI, the module gets...
How to disable API endpoint (/o/api) for logged in users?
Issue Need to disable API endpoint (/o/api) for logged-in users. Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution To disable API Explorer, please navigate to Configuration > System Settings > Platform > Third Party > System Scope > API Explorer > deselect 'Enable API Explorer'.,...
Is it possible to offer both SAML and OIDC as SSO options?
Issue Both SAML and OpenID Connect(OIDC) can be configured on the same Liferay instance. However, the option to authenticate using OIDC is missing whenever SAML is enabled. Is it possible for a user to select either SSO methods to log in?  Environment DXP 7.4 Resolution The missing...
Can URLs be localized in Navigation Menu and in "Link to URL" Layout Type ?
Issue We would like to have the possibility to use different external urls for different languages in the Navigation and menu elements and as Layout Type "Link to URL" in "Site builder -> Pages" For example: HU: www.google.hu EN: www.google.com Environment Liferay DXP 7.0+ Resolution...

Showing 1 to 40 of 1,394 entries.