Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gilt für: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online-| SharePoint Server 2013
Die folgenden Elemente und Attribute werden innerhalb einer Websiteupgrade-Definitionsdatei implementiert.
Beispiel
Das folgende Beispiel stellt das Format einer Upgradedefinition dar.
<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>