アップグレード定義スキーマ
最終更新日: 2010年3月26日
適用対象: SharePoint Foundation 2010
サイトのアップグレード定義ファイルには、以下の要素と属性が実装されます。
アップグレード定義の例
次の例は、アップグレード定義の形式の概略です。
<Config xmlns = "urn:Microsoft.SharePoint.Upgrade">
<WebTemplate
ID = "1"
LocaleId = "*"
FromProductVersion = "2"
BeginFromSchemaVersion = "100"
EndFromSchemaVersion = "149"
ToSchemaVersion = "150">
<Lists>
<List
FromTemplateId = "104"
ToFeatureId = "00BFEA71-D1CE-42de-9C63-A44004CE0104"
v3Type = "0x0104">
</List>
<List
FromTemplateId = "105"
ToFeatureId = "00BFEA71-7E6D-4186-9BA8-C047AC750105"
v3Type = "0x0105">
</List>
...
</Lists>
<Files>
<File
FromPath = "{LocaleId}\STS\default.aspx"
ToPath = "SiteTemplates\STS\default.aspx" />
<File
FromPath = "{LocaleId}\STS\Lists\announce\AllItems.aspx"
ToPath = "Features\AnnouncementsList\announce\AllItems.aspx" />
<File
FromPath = "{LocaleId}\STS\Lists\announce\DispForm.aspx"
ToPath = "Features\AnnouncementsList\announce\DispForm.aspx" />
<File
FromPath = "{LocaleId}\STS\Lists\announce\EditForm.aspx"
ToPath = "Features\AnnouncementsList\announce\EditForm.aspx"
/>
<File
FromPath = "{LocaleId}\STS\Lists\announce\NewForm.aspx"
ToPath = "Features\AnnouncementsList\announce\NewForm.aspx" />
...
</Files>
<AppliedSiteFeatures>
<Feature ID = "00BFEA71-1C5E-4A24-B310-BA51C3EB7A57" />
</AppliedSiteFeatures>
<AppliedWebFeatures>
<Feature ID = "00BFEA71-D1CE-42de-9C63-A44004CE0104" />
<Feature ID = "00BFEA71-7E6D-4186-9BA8-C047AC750105" />
<Feature ID = "00BFEA71-DE22-43B2-A848-C05709900100" />
...
</AppliedWebFeatures>
</WebTemplate>
</Config>