Legacy Knowledge Base
Published Jul. 2, 2025

Introduction of Sites in Liferay 6.1 EE

Written By

Liferay Support

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

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

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

In previous versions of Liferay Portal, there were two distinct ways to group things: Communities and Organizations. With Liferay Portal 6.1, these two options are still available, but they are handled differently. Sites now exist in lieu of communities, and organizations are implemented through the Users and Organizations portlet.

Resolution

When upgrading, all communities should be transferred over as Sites, since communities no longer exist. Keep in mind that this change may affect custom developments as well. See the example below:

com.liferay.portal.service.impl.OrganizationLocalService.addOrganization();

  • A new parameter added to the method for the 6.1 build is the "boolean site".
  • There should be a "Organization Site" option upon organization creation. When you create the organization, there should be an option to "Create Site" available. This will be what the boolean parameter is used for.
  • If an organization is set to create a site, the boolean would be set to true.
  • If no site is chosen to be generated upon creation, the boolean would be set to false. Please note organizations can still be managed without a website.
Did this article resolve your issue ?

Legacy Knowledge Base