You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/apis/migrate-webparts-with-migrationapi.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: "Migrating webparts using the Migration API"
2
+
title: "Migrating web parts using the Migration API"
3
3
ms.reviewer:
4
4
ms.author: jhendr
5
5
author: JoanneHendrickson
@@ -11,29 +11,29 @@ search.appverid: MET150
11
11
msCollection:
12
12
- SPMigration
13
13
- M365-collaboration
14
-
description: "Migrating webparts using the Migration API"
14
+
description: "Migrating web parts using the Migration API"
15
15
---
16
-
# Migrating webparts using the Migration API
16
+
# Migrating web parts using the Migration API
17
17
18
18
The Migration API supports the ability to migrate web parts to SharePoint Online using the PRIME package by calling CSOM/REST/SOAP WS to get web part data and properties to build the PRIME package.
19
19
20
-
An advantage in using the Migration API for your web part migration is the ability to migrate your web parts in one call and improve performance. Part of the manifest includes the web part as you import its associated page. By using the Migration API you can can put all the web parts you have on that page.
20
+
An advantage in using the Migration API for your web part migration is the ability to migrate your web parts in one call and improve performance. Part of the manifest includes the web part as you import its associated page. By using the Migration API, you can put all the web parts you have on that page.
21
21
22
22
## Using the Serializer DLL
23
23
24
24
There are two attributes that are handled in a unique way that requires using the WebPart User Properties Serializer DLL.
25
25
26
-
There is a technical challenge to generate the property values for *AllUsersProperties* and *PerUserProperties* when building the PRIME package. This is because these the property values are BASE64 encoded blob, which are serialized web part properties and web part connection info.
26
+
There is a technical challenge to generate the property values for *AllUsersProperties* and *PerUserProperties* when building the PRIME package. This challenge is because the property values are BASE64 encoded blob, which is serialized web part properties and web part connection info.
27
27
28
28
29
-
To get the Serializer .dll, do the following:
29
+
To get the Serializer .dll, perform following steps:
30
30
31
31
32
32
1. Install the SPMT Client on your local computer: [Install SPMT](https://aka.ms/spmt-GA-page).
33
33
2. Browse to the install ___location of SPMT
34
-
5. Locate and copy the *microsoft.sharepoint.migration.webpart.serializer.dll* and you can copy it into your project.
34
+
3. Locate and copy the *microsoft.sharepoint.migration.webpart.serializer.dll* and you can copy it into your project.
35
35
36
-
For a complete list of the supported webparts, see:
36
+
For a complete list of the supported web parts, see:
37
37
38
38
-[SPMT & Migration API supported SharePoint web parts](https://docs.microsoft.com/en-us/sharepointmigration/spmt-supported-webparts)
39
39
@@ -159,7 +159,7 @@ For an explanation of the **SPWebPart** fields see:
159
159
160
160
## Security controls
161
161
162
-
Due the security control design on the server side, the following behavior:
162
+
Due to the security control design on the server side, the following behavior:
163
163
164
164
- If the NoScript is off, then go on migrating all web part as currently
165
165
- If NoScript is on, then first check web part level safety
@@ -169,7 +169,7 @@ Due the security control design on the server side, the following behavior:
169
169
- Otherwise, go on migrating this web part
170
170
171
171
172
-
Here is the list of web parts that will be ignored by serverside code (treated as untrusted webpart) when NoScript is turned ON:
172
+
Here is the list of web parts that will be ignored by server-side code (treated as untrusted webpart) when NoScript is turned ON:
173
173
174
174
- XsltListViewWebPart
175
175
- ContentEditorWebPart
@@ -200,7 +200,7 @@ Here is the list of web parts that will be ignored by server side code (treated
200
200
*Question:* How to fetch the web part connection info as the input for serialization API?
201
201
*Answer:* The web part connections could be found in <SPWebPartConnection> elements from the web part page in the response of operation ‘GetWebPartPage’ in ‘WebPartPagesWebService’.
202
202
203
-
View flags: refer to this https://docs.microsoft.com/en-us/openspecs/sharepoint_protocols/ms-wssfob/252d2086-6571-430f-863d-bcaf9d267e62 , e.g. all the view flags https://docs.microsoft.com/en-us/openspecs/sharepoint_protocols/ms-wssfob/16a9d8ca-185d-40ec-956e-bb6bf3488cf7. You will need to convert all flag values to PRIME element ‘flags’.
203
+
View flags: refer to this https://docs.microsoft.com/en-us/openspecs/sharepoint_protocols/ms-wssfob/252d2086-6571-430f-863d-bcaf9d267e62, for example, all the view flags https://docs.microsoft.com/en-us/openspecs/sharepoint_protocols/ms-wssfob/16a9d8ca-185d-40ec-956e-bb6bf3488cf7. You will need to convert all flag values to PRIME element ‘flags’.
0 commit comments