Legacy Knowledge Base
Published Jul. 2, 2025

Adding Portlets to Users' Private Pages By Default

Written By

Marco Abamonga

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.
This article describes how to add portlets to a user's private page by default.

Resolution

One way of achieving this is by creating a page anywhere in the portal with the pre-configured portlets you need, and then exporting a LAR of the page.

Next, use the following property in the portal-ext.properties, making sure to point to the location of the lar file:

#
# Specify a LAR file that can be used to create the user private layouts. If
# this property is set, the previous layout properties will be ignored.
#
default.user.private.layouts.lar=${liferay.home}/deploy/default_user_private.lar

For existing users, delete their current private pages and have them sign in again. As a precaution, please ensure that the customer has a backup of their environment.

At this point, the content of the private page is no longer tied to the original source. The portlets on the user's private pages are not linked with the contents of the LAR file but rather are a copy of the portlets and content that were in the exported LAR.

Did this article resolve your issue ?

Legacy Knowledge Base