デフォルトのシリアライズ形式
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
アイテムをシリアライズすると、Sitecore処理する各アイテムごとに別々のテキストファイルを作成します。ファイルはシリアライズ設定で指定されたルートフォルダーの下に保存されます。例えば、C:\inetpub\wwwroot\sc92\App_Data\serialization\master\sitecore\content\Home.item。
各テキストファイルには以下の情報が含まれています:
- アイテム定義、ID、パスなど
- 共有フィールド
- アイテムバージョン:
- バージョン定義(言語バージョン、番号付きバージョン、リビジョン番号を含む)
- 非共有フィールド
シリアル化されたアイテムは以下の通りです:
----item---- version: 1 id: {110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9} database: master path: /sitecore/content/Home parent: {0DE95AE4-41AB-4D01-9EB0-67441B7C2450} name: Home master: {00000000-0000-0000-0000-000000000000} template: {76036F5E-CBCE-46D1-AF0A-4143F9B557AA} templatekey: Sample Item created: 20190425T171954Z
----field---- field: {A0CB3965-8884-4C7A-8815-B6B2E5CED162} name: __Editors key: __editors content-length: 0
...
----field---- field: {A4F985D9-98B3-4B52-AAAF-4344F6E747C6} name: __Workflow key: __workflow content-length: 38
{A5BC37E7-ED96-4C1E-8590-A26E64DB55EA} ----field---- field: {CA9B9F52-4FB0-4F87-A79F-24DEA62CDA65} name: __Default workflow key: __default workflow content-length: 0
----version---- language: en version: 1 revision: 38ea58d9-bd7f-4a73-b431-27ecce83b8f7
----field---- field: {75577384-3C97-45DA-A847-81B00500E250} name: Title key: title content-length: 28
Sitecore Experience Platform ----field---- field: {A60ACD61-A6DB-4182-8329-C957982CEC74} name: Text key: text content-length: 788
From a single connected platform that also integrates with other customer-facing platforms, to a single view of the customer in a big data marketing repository, to completely eliminating much of the complexity that has previously held marketers back, the latest version of Sitecore makes customer experience highly achievable. Learn how the latest version of Sitecore gives marketers the complete data, integrated tools, and automation capabilities to engage customers throughout an iterative lifecycle – the technology foundation absolutely necessary to win customers for life.
For further information, please go to the Sitecore Documentation site
----field---- field: {B5E02AD9-D56F-4C41-A065-A133DB87BDEB} name: __Display name key: __display name content-length: 0
----field---- field: {577F1689-7DE4-4AD2-A15F-7FDC1759285F} name: __Long description key: __long description content-length: 58
...
sitecore\Admin ----field---- field: {25BED78C-4957-4165-998A-CA1B52F67497} name: __Created key: __created content-length: 16
20080407T105900Z ----field---- field: {5DD74568-4D4B-44C1-B513-0AF5F4CDA34F} name: __Created by key: __created by content-length: 14
sitecore\Admin ----field---- field: {8CDC337E-A112-42FB-BBB4-4143751E123F} name: __Revision key: __revision content-length: 36
38ea58d9-bd7f-4a73-b431-27ecce83b8f7 ----field---- field: {D9CF14B1-FA16-4BA6-9288-E8A174D4D522} name: __Updated key: __updated content-length: 16
20151109T083058Z ----field---- field: {BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A} name: __Updated by key: __updated by content-length: 14
sitecore\Admin
テキストファイルの各 ----field---- セクションには、対応するアイテムフィールド値の長さを指定するcontent-lengthパラメータがあります。
深く入れ子されたアイテム
Windowsでは、ファイルへの単一のパスの長さは255文字を超えません。複数のネストレベルを持つコンテンツツリーでは、この制限により、シリアライズ処理中にネストされたフォルダ内のアイテムが省略されることがあります。
この制限を回避し、すべての要求されたアイテムをシリアライズするために、Sitecoreアイテムが深く入れ子されている場合、パスを短縮することもあります。Sitecoreこれらのアイテムのシリアライズ出力テキストファイルを、$dataFolder\serializationフォルダーの下にランダムな名前の補助ファイルフォルダーに保存します。
!注別のSitecore環境で完全なコンテンツツリーに戻すには、データベースのフォルダと補助フォルダの両方を新しい宛先にコピーする必要があります。