この記事では、Sitecore XP 8.0でコンテンツ テスト機能を無効にする方法について解説します。
コンテンツ テストは、テスト インデックスの再構築など、さまざまなアクションにスケジュールされたタスクを使用します。この機能を使用しない場合、機能を無効化して不要なサーバーの負荷を回避することができます。
- /App_Config/Include/ContentTestingフォルダーにあるすべての*.config ファイルを無効にします。ファイル拡張子を.disabledに変更すると、ファイルを無効にできます。
- Masterデータベースで、/sitecore/system/Tasks/Schedules/Content Testingアイテムをアーカイブします。
- Coreデータベースで、/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Optimizationアイテムをアーカイブします。これによって、Experience Editorの「オプティマイズ」タブが完全に無効になります。
備考:
このタブには、コンテンツ テストに関連しない「ページ属性」チャンクと「ページ プロファイル設定」チャンクがあります。これらのチャンクを使用する場合は、以下のアイテム
/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Optimization/PageProfileSettings
/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Optimization/Attributes
を/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Experienceアイテムの配下に移動します。
- Coreデータベースで、/sitecore/client/Applications/Launchpad/PageSettings/Buttons/Marketing/Experience Optimizationアイテムをアーカイブします。
- \Website\sitecore\shell\client\Sitecore\ExperienceEditor\Pipelines\InitializePageEditフォルダーに移動して、InjectOptimizationViewMode.jsファイル拡張子を.disabledに変更します。
\App_Config\Include\ContentTestingまたは\App_Config\Sitecore\ContentTestingフォルダー(貴社Sitecoreのバージョンによって異なります)にあるSitecore.ContentTesting.configファイルで、ContentTesting.AutomaticContentTesting.Enabled設定値をfalseに変更します:
<setting name="ContentTesting.AutomaticContentTesting.Enabled" value="false" />