---
title: "デフォルトのシリアライズ形式"
slug: "the-default-serialization-format"
abstract: "コンテンツをシリアライズする際に作成されるテキストファイルのフォーマットについて学びましょう。"
---
# デフォルトのシリアライズ形式

アイテムをシリアライズすると、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

<p style="line-height: 22px;">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 &ndash; the technology foundation absolutely necessary to win customers for life.</p>
<p>For further information, please go to the <a href="https://doc.sitecore.net/" target="\_blank" title="Sitecore Documentation site">Sitecore Documentation site</a></p>

----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環境で完全なコンテンツツリーに戻すには、データベースのフォルダと補助フォルダの両方を新しい宛先にコピーする必要があります。