legacy-knowledge-base
公開されました Sep. 10, 2025

親サイトから子サイトへのコンテンツ共有機能はどうなっているのか? どのようなコンテンツに対応しているのか?

written-by

Brian Suh

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

問題

  • sites.content.sharing.with.children.enabled 、親サイトから子サイトへのコンテンツ共有機能はどのように機能するのか、親サイトから共有されるコンテンツはどのようなものか。

環境

  • Liferay DXP 7.0
  • Liferay DXP 7.1
  • Liferay DXP 7.2

解像度

  • sites.content.sharing.with.children.enabled プロパティは、親サイトからサブサイトへの構造およびテンプレートの共有を許可します。 プロパティの説明文は以下のように記述し、3つの選択肢の中から1つを選んで設定することが可能です:
    #
    # Set this property to 0 to disable the Sharing of Content with subsites for
    # all sites. Set this property to 1 to disable it by default while allowing
    # site administrators to enable it per site. Set this property to 2 to
    # enable it by default while allowing site administrators to disable it per
    # site.
    #
    #sites.content.sharing.with.children.enabled==0
    #sites.content.sharing.with.children.enabled==1
    #sites.content.sharing.with.children.enabled==2
  • このプロパティが有効な場合、期待される動作は、親サイトから以下の資産を共有することができることです:
    • Webコンテンツストラクチャー
    • Web コンテンツ テンプレート
    • ドキュメントタイプ
    • ボキャブラリーとカテゴリー
    • アプリケーション ディスプレイ テンプレート
    • データ定義(動的データリスト)

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base