Legacy Knowledge Base
Published Sep. 10, 2025

Determining the Page Count and Global References in a Site

Written By

Justin Choi

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.

Liferay Support does not recommend or endorse specific third-party products over others. Liferay is not responsible for any instructions herein or referenced regarding these products. Any implementation of these principles is the responsibility of the subscriber.

Issue

This article documents a method to create a possible query to do the following:

  • determine how many pages are in a particular site; or
  • determining which pages have global content

Environment

  • Liferay Portal 6.2
  • Liferay DXP 

Resolution

  • Refer to the database's Layout table to see which pages are on the portal.
  • To determine which pages are using global content, you can check your Group_ table to determine the groupId of your global site.
  • Next, search the Portletpreferences table to see which portlets are referencing that groupId. This indicates that a global content is being displayed.
  • Last, search for that portletId in the Layout table to find which pages are using those portlets.

Note: Liferay Support does not endorse one database over another. You should always consult your database vendor's documentation.

Did this article resolve your issue ?

Legacy Knowledge Base