Folders within Documents & Media are unresponsive
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
- When using Asset Publisher Template on a Widget Page, the folders within Documents and Media are unresponsive. Navigating and clicking on folders should normally show the contents of the folders (images, files, etc.). In this instance, when clicking on the folders within Documents and Media the web page doesn't update and show the contents inside the folders.
Resolution
- There is a workaround available to avoid this behavior outputted by Documents & Media.
- Navigate to Content & Data > Documents and Media
- Create a folder named: Test Folder
- Navigate to Content & Data > Web Content > Templates
- Create Template named: Test Template
- Structure: Basic Web Content
- Template:
<@liferay_portlet["runtime"] instanceId="template1" portletName="com_liferay_document_library_web_portlet_DLPortlet" />
- Create Web Content using the newly created Test Template
- Name: Test
- Default Template: Test Template
- On a Widget Page, add a Web Content Display for the newly created article: Test
- In a separate browser tab, Navigate to Control Panel > Server Administration
- Click: Clear content cached across the cluster
- In previous browser tab, click on TestFolder in the DLPortlet
- Notice: the navigation works and we are inside TestFolder
Did this article resolve your issue ?