|
1 | 1 | ---
|
2 | 2 | title: "SharePoint Migration Export (Asynchronous Metadata Read) API"
|
3 | 3 | description: This document targets ISVs and any third-party vendors/developers who are developing and maintaining a migration tool.
|
4 |
| -ms.date: 09/12/2023 |
| 4 | +ms.date: 09/26/2023 |
5 | 5 | ms.author: jhendr
|
6 | 6 | author: JoanneHendrickson
|
7 | 7 | manager: serdars
|
@@ -220,6 +220,35 @@ CloudBlockBlob blob = folder.GetBlockBlobReference(manifestFileName);
|
220 | 220 | |UserGroupMap.XML|DeploymentUserGroupMap Schema|Provides validation for the UserGroup.xml file exported into the content migration package. UserGroup.xml maintains a list of users and user security groups with respect to access security and permissions.|
|
221 | 221 | |ViewFormsList.XML|DeploymentViewFormsList Schema|Provides validation for the ViewFormsList.xml file exported into the content migration package.ViewFormsList.xml maintains a list of Web Parts and tracks whether each is a view or form.|
|
222 | 222 |
|
| 223 | +### Encoding invalid XML characters |
| 224 | + |
| 225 | +When invalid XML characters are detected in relevant fields, they're encoded. For any attribute that is XML encoded, decoding is needed for the value. Encoded fields are included in `EncodedAttributes`, in a comma-separated attribute list. |
| 226 | + |
| 227 | +**Example** |
| 228 | + |
| 229 | +In this example, these attributes are encoded: URL, ParentWebURL, Name, and Version. |
| 230 | + |
| 231 | +```xml |
| 232 | +<File Url="testlib_x002F_File_0905-1653-31240" |
| 233 | + Id="e72e2015-91a4-4d07-ae9a-7b6c76918d2a" |
| 234 | + ParentWebId="7206fc09-e4af-48b3-8730-ed7321396d7a" |
| 235 | + ParentWebUrl="_x002F_" |
| 236 | + Name="File_0905-1653-31240" |
| 237 | + ListItemIntId="3" |
| 238 | + ListId="48ea9454-9538-47ae-926d-917df80bc93e" |
| 239 | + ParentId="33ff2f12-c818-4c8d-8578-c6d057172fd8" |
| 240 | + ScopeId="385cd4d5-86da-4183-bdac-2e83da1b05fc" |
| 241 | + TimeCreated="2021-11-08T03:57:05" |
| 242 | + TimeLastModified="2021-01-17T16:01:48" |
| 243 | + Version="_x0031_.0" |
| 244 | + FileSize="1" |
| 245 | + Level="1" |
| 246 | + EncodedAttributes="Url,ParentWebUrl,Name,Version"> |
| 247 | +``` |
| 248 | + |
| 249 | +>[!Warning] |
| 250 | +>If XSD is replied on to parse manifest files, parsing may fail when **EncodedAttributes** is used. |
| 251 | +
|
223 | 252 | #### How to retrieve the manifest from the Azure blob
|
224 | 253 |
|
225 | 254 | The following example code demonstrates how to get the Azure blob of a manifest file and decipher it:
|
|
0 commit comments