Legacy Knowledge Base
公開されました Jul. 2, 2025

ステージングで「本番環境で編集可能」ポートレットを使用する

Written By

Brett Ripley

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.

この記事では、ステージングサイトとライブサイトの間でデータを同期させ、両方の場所で変更を可能にするポートレットのための実用的な提案を概説します。 この回避策に従うことで、ステージング公開のエラーや失敗を防ぐことができます。

解決

一般に、ポートレットに対してステージングが有効になっている場合、本番サイトでポートレットデータを追加または編集することはできません。 ただし、Liferayプラットフォームの一部のポートレットでは、ユーザーがステージングされたポートレットの本番バージョンに変更を加えることができる場合があります。 この動作は、ポートレット自体の実装に依存し、開発者はほとんどの場合、ポートレットがエンドユーザーからのデータを必要とする場合に、この機能を使用してポートレットをプログラムすることを決定します。

混乱や公開エラーを回避するために、ライブサイトで変更できるすべてのアセットを一覧表示してから、変更を行う必要があるポータルのユーザーに明確に伝えます。(ステージング中またはライブで直接)

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base