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...

Showing 1 to 20 of 1,394 entries.