Skip to content

Commit a27b0fb

Browse files
Merge pull request SharePoint#9241 from JoanneHendrickson/patch-89
Update migration-api-whats-new.md
2 parents 4efcf07 + 0e27ffd commit a27b0fb

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

docs/apis/migration-api-whats-new.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Migration API What's new"
33
description: "Learn about the new features and updates to the Migration API."
4-
ms.date: 09/06/2023
4+
ms.date: 09/26/2023
55
ms.reviewer: jhendr
66
author: JoanneHendrickson
77
ms.author: jhendr
@@ -16,6 +16,36 @@ ms.custom: admindeeplinkSPO
1616

1717
Check here to see what features or updates have been added to the Migration API. Here's a summary of what's included.
1818

19+
## Encoding invalid XML characters
20+
21+
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.
22+
23+
**Example**
24+
25+
In this example, these attributes are encoded: URL, ParentWebURL, Name, and Version.
26+
27+
```xml
28+
<File Url="testlib_x002F_File_0905-1653-31240"
29+
Id="e72e2015-91a4-4d07-ae9a-7b6c76918d2a"
30+
ParentWebId="7206fc09-e4af-48b3-8730-ed7321396d7a"
31+
ParentWebUrl="_x002F_"
32+
Name="File_0905-1653-31240"
33+
ListItemIntId="3"
34+
ListId="48ea9454-9538-47ae-926d-917df80bc93e"
35+
ParentId="33ff2f12-c818-4c8d-8578-c6d057172fd8"
36+
ScopeId="385cd4d5-86da-4183-bdac-2e83da1b05fc"
37+
TimeCreated="2021-11-08T03:57:05"
38+
TimeLastModified="2021-01-17T16:01:48"
39+
Version="_x0031_.0"
40+
FileSize="1"
41+
Level="1"
42+
EncodedAttributes="Url,ParentWebUrl,Name,Version">
43+
```
44+
45+
>[!Warning]
46+
>If XSD is replied on to parse manifest files, parsing may fail when **EncodedAttributes** is used.
47+
48+
1949
## Updated reason code and descriptions
2050

2151
We have updated Migration API to provide detailed reasons in case a job is postponed. We encourage ISVs take appropriate actions, based on the reasons.

0 commit comments

Comments
 (0)