legacy-knowledge-base
公開されました Jun. 30, 2025

ドキュメントとメディア内のフォルダが反応しない

written-by

Adrienne Lao

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

learn-legacy-article-disclaimer-text

問題

  • ウィジェットページでAsset Publisher Templateを使用すると、DocumentsとMedia内のフォルダが反応しなくなります。 フォルダをナビゲートしてクリックすると、通常はフォルダの中身(画像、ファイルなど)が表示されるはずです。 この例では、Documents and Media内のフォルダをクリックしても、ウェブページが更新されず、フォルダ内のコンテンツが表示されません。

Environment

  • DXP 7.4

解決策

  • Documents & Mediaから出力されるこの動作を回避するための回避策があります。
    1. コンテンツ & データ > ドキュメントとメディア に移動する。
    2. という名前のフォルダを作成する:テスト・フォルダー
    3. コンテンツに移動 & データ > ウェブコンテンツ > テンプレート
    4. という名前のテンプレートを作成します: テストテンプレート
    5. 構造 基本的なウェブコンテンツ
    6. テンプレート:
      <@liferay_portlet["runtime"] instanceId="template1" portletName="com_liferay_document_library_web_portlet_DLPortlet" />
    7. 新しく作成した テストテンプレートを使用してウェブコンテンツを作成する。
      1. 名前: テスト
      2. デフォルトテンプレート: テストテンプレート
    8. ウィジェットページに、新しく作成された記事のためのウェブコンテンツ表示を追加する: テスト
    9. 別のブラウザータブで、 コントロールパネル > サーバー管理に移動します。
      1. クリックしてください: クラスタ全体にキャッシュされたコンテンツを消去する
    10. 前のブラウザのタブで、 DLPortletTestFolder をクリックします。
      1. 注意:ナビゲーションが機能し、 TestFolderの中にいる。

did-this-article-resolve-your-issue

legacy-knowledge-base