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

Clear Analytics Cloudの構成

written-by

Madeleine Clay

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

問題

  • 環境のクローンを作成したいのですが、Analytics Cloud トークンは、一度に 1 つの DXP インスタンスでしか使用できません。
  • クローン環境からトークンを削除して、元の環境をAnalyticsから切断しないようにするにはどうすればよいですか?

環境

  • DXP 7.2

解像度

  • 以下のSQLクエリーを使用して、コンフィグレーションをデータベースから削除する必要があります:
update PortalPreferences set preferences =
UpdateXML(
UpdateXML(
UpdateXML(
UpdateXML(
UpdateXML(
preferences,'/portlet-preferences/preference[name/text()="liferayAnalyticsEndpointURL"]',''),
'/portlet-preferences/preference[name/text()="liferayAnalyticsDataSourceId"]',''),
'/portlet-preferences/preference[name/text()="liferayAnalyticsFaroBackendSecuritySignature"]',''),
'/portlet-preferences/preference[name/text()="liferayAnalyticsFaroBackendURL"]', ''),
'/portlet-preferences/preference[name/text()="liferayAnalyticsURL"]', '')
where preferences like "%liferayAnalyticsEndpointURL%" ;

および

DELETE FROM configuration_ where configurationId like 'com.liferay.analytics.settings.configuration.AnalyticsConfiguration%'

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base