Legacy Knowledge Base
Published Jul. 2, 2025

How to see the number of downloads for Documents and Media?

Written By

Tímea Bihari

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.

Issue

  • In Liferay 6.1 and 6.2, if you opened a Document as and Admin, you had the information about the number of downloads.
  • This is missing in DXP 7.0+

Environment

  • Liferay DXP 7.0+

Resolution

In DXP 7.0+, you can make this piece of information appear in Site Administration and in the Documents and Media portlet.

1. Site Administration:

The following property manages what columns appear in Site Administration > Content > Documents and Media. By default, it has these values:

dl.entry.columns=name,size,status,modified-date,create-date,action
  1. Modify the default values by adding the property to your portal-ext.properties file and adding "downloads" like this:
    dl.entry.columns=name,size,status,modified-date,create-date,action,downloads
  2. Restart the server
  3. Navigate to Site Administration > Content > Documents and Media
  4. Set the view to "Table" view
  5. The Downloads column will appear in the table

2. Documents and Media portlet

  1. Place a Documents and Media portlet on the page
  2. Open its Configuration
  3. On the Setup tab, scroll to the section called "Entries Listing for List Display Style"
  4. Add the Downloads field (by moving it from Available to Current)
  5. Save the configuration
  6. Choose the Table view for the Documents and Media portlet
  7. The Downloads column will appear in the table

 

Did this article resolve your issue ?

Legacy Knowledge Base