Legacy Knowledge Base
公開されました Jun. 30, 2025

ドキュメントライブラリドキュメントのファイル拡張子の定義

Written By

Sergio Alonso

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.

問題

  • ドキュメントライブラリにアップロードできるファイル拡張子を定義することは可能でしょうか?

環境

  • DXP 7.1+

解決

  • この設定は、 UI から行います:
コントロールパネル -> システム設定 -> ドキュメントとメディア -> システムスコープ -> サービス -> ファイル拡張子
  • すべてのファイル拡張子は 'dot'[拡張子文字列] で定義されます。いくつかの例を挙げます:
    .gif
    .jpg
    .odt
    .pdf
    .png
    .ppt
    .pptx
    .rtf
    .tiff
    .tgz
    .txt
    .vsd
    .xls
    .xlsx
    .xml
    .zip
    .jrxml
  • 設定の保存してエクスポートが可能です。 com.liferay.document.library.configuration.DLConfiguration.config 

ファイルをすべてのオプションの構文で作成します。 この設定を、他の環境にも適用できます。

  • Webコンテンツ と ブログ の2つのファイル拡張子設定があります:
コントロール設定 -> システム設定 -> Webコンテンツ -> システムスコープ -> ファイルアップロード -> 許可されたファイル識別子
コントロールパネル -> システム設定 -> ブログ -> システムスコープ -> ファイルアップロード -> 許可するブログ画像のファイル識別子

 

Did this article resolve your issue ?

Legacy Knowledge Base