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/onenote-migration-service.md
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,31 +1,32 @@
1
1
---
2
2
title: Migrating OneNote folders
3
+
ms.date: 12/05/2020
3
4
ms.author: jhendr
4
5
author: JoanneHendrickson
5
6
manager: pamgreen
6
7
audience: Dev
7
8
ms.topic: article
8
9
ms.service: sharepoint-online
9
10
localization_priority: Priority
10
-
ms.collection:
11
+
ms.collection:
11
12
- SPMigration
12
13
- M365-collaboration
13
14
search.appverid: MET150
14
15
description: "Migrating OneNote folders using the SPO OneNote converting service"
15
16
---
16
17
# Migrating OneNote folders
17
18
18
-
When bringing **OneNote** notebooks into SharePoint Online (SPO) from outside the service, you are required to convert the file. OneNote files need to be located within a correctly tagged NoteBook folder before the OneNote content is accessible via the modern APIs.
19
+
When bringing **OneNote** notebooks into SharePoint Online (SPO) from outside the service, you are required to convert the file. OneNote files need to be located within a correctly tagged NoteBook folder before the OneNote content is accessible via the modern APIs.
19
20
20
21
There is now a OneNote converting service in SPO that lets you mark the **OneNote** notebooks that are being migrated to be converted.
21
22
22
23
## Example
23
24
24
-
The following example shows SPMT using the SPO OneNote converting service, which is running in SPO background.
25
+
The following example shows SPMT using the SPO OneNote converting service, which is running in SPO background.
Copy file name to clipboardExpand all lines: docs/apis/spod-copy-move-api.md
+49-42Lines changed: 49 additions & 42 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Microsoft 365 Copy and Move API (CreateCopyJobs)
3
-
ms.date: 06/02/2020
3
+
ms.date: 12/05/2020
4
4
ms.author: jhendr
5
5
author: JoanneHendrickson
6
6
manager: pamgreen
@@ -10,7 +10,7 @@ f1.keywords:
10
10
ms.topic: article
11
11
ms.service: sharepoint-online
12
12
localization_priority: Priority
13
-
ms.collection:
13
+
ms.collection:
14
14
- SPMigration
15
15
- M365-collaboration
16
16
search.appverid: MET150
@@ -19,27 +19,26 @@ description: "Microsoft 365 Copy and Move API (CreateCopyJobs)"
19
19
# Microsoft 365 Copy and Move API (CreateCopyJobs)
20
20
21
21
>[!IMPORTANT]
22
-
>SharePoint & OneDrive Copy and Move API replaces the CreateCopyJob API. The CreateCopyJob API has been deprecated.
22
+
>SharePoint & OneDrive Copy and Move API replaces the CreateCopyJob API. The CreateCopyJob API has been deprecated.
23
23
24
+
The following API is based on the use of the SharePoint Client Side Object Model (CSOM). We recommend using [NuGet](https://www.nuget.org/) packages when you reference CSOM in your solution.
24
25
25
-
The following API is based on the use of the SharePoint Client Side Object Model (CSOM). We recommend using [NuGet](https://www.nuget.org/) packages when you reference CSOM in your solution.
26
-
27
-
You can find the latest version of the SharePoint Online CSOM package from the [NuGet library](https://www.nuget.org/) using the ID *Microsoft.SharePointOnline.CSOM*.
26
+
You can find the latest version of the SharePoint Online CSOM package from the [NuGet library](https://www.nuget.org/) using the ID *Microsoft.SharePointOnline.CSOM*.
28
27
29
28
>[!IMPORTANT]
30
29
>Learn more about [limitations](#limitations) of this API before you begin.
31
30
32
-
33
31
## Method
34
32
35
33
### CreateCopyJobs
36
34
37
-
This method creates a new copy or move job that lets you copy or move a file or folder from one site in SharePoint, OneDrive, or Teams, to another site.
35
+
This method creates a new copy or move job that lets you copy or move a file or folder from one site in SharePoint, OneDrive, or Teams, to another site.
38
36
39
37
#### Syntax
40
38
41
-
`public List<SPCopyMigrationInfo> CreateCopyJobs(Uri[] exportObjectUris, Uri destinationUri, SPCopyMigrationOptions options)`
This indicates whether a file with a share lock can still be moved in a move job. If you want to move a file that is locked, you need to set this.
93
100
94
-
95
-
`public string[] ClientEtags { get; set; }`
101
+
```csharp
102
+
publicstring[] ClientEtags { get; set; }
103
+
```
96
104
97
105
If set, and the source eTag doesn’t match the eTag specified, the copy and move won’t take place. If left NULL, no check will take place.
98
106
107
+
```csharp
108
+
publicboolMoveButKeepSource { get; set; }
109
+
```
99
110
100
-
`public bool MoveButKeepSource { get; set; }`
101
-
102
-
Once set, this move operation is similar to copy. The file will move to destination, but the source content will not be deleted. If set, this will make a copy with the version history and preserve the original metadata. No source item deletions occurs at the end.
111
+
Once set, this move operation is similar to copy. The file will move to destination, but the source content will not be deleted. If set, this will make a copy with the version history and preserve the original metadata. No source item deletions occurs at the end.
103
112
104
113
>[!NOTE]
105
114
>This is not like the normal copy, which only copies the most recent major version and doesn't maintain all the metadata.
106
115
107
-
108
-
`public bool ExcludeChildren { get; set; }`
116
+
```csharp
117
+
publicboolExcludeChildren { get; set; }
118
+
```
109
119
110
120
For this operation, only the root level folder of the URL is copied. The sub-folders or files within the folder will not be moved or copied.
111
121
112
-
113
122
### Output
114
123
115
124
|Output parameter|Description|
@@ -119,20 +128,18 @@ For this operation, only the root level folder of the URL is copied. The sub-fol
119
128
|JobQueueUri|URL for accessing Azure queue used for returning notification of copy and move process|
120
129
|EncryptionKey| AES256CBC encryption key used to decrypt messages from job/manifest queue|
121
130
131
+
```csharp
132
+
publicUriJobQueueUri { get; set; }
133
+
```
122
134
123
-
`public Uri JobQueueUri { get; set; }`
135
+
The reporting features are the same as they are for CreateMigrationJob. Logging tracks the status of the createCopyJobs. By default, blob queue permissions and settings are set to "all access”. It gives the job status as follows: job start, job end, and job error information.
124
136
125
-
The reporting features are the same as they are for CreateMigrationJob. Logging tracks the status of the createCopyJobs. By default, blob queue permissions and settings are set to "all access”. It gives the job status as follows: job start, job end, and job error information.
137
+
## Limitations
126
138
127
-
128
-
## Limitations
129
139
Currently, the following limitations are:
130
140
131
141
|What|Limitation|
132
142
|:-----|:-----|
133
143
|File size| A file must be less than 2 GB.|
134
144
|Number of items| No more than 30,000 items in a job.|
135
145
|Total size of job| Job size not to exceed 100 GB.|
@@ -52,7 +49,7 @@ The following sections describe attributes, child elements, and parent elements.
52
49
|**Path** <br/> | Optional **Text**. Specifies the physical path to the file relative to %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\SiteTemplates\ _Site_Definition_ for Onet.xml files. Specifies the physical path to the file relative to %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\FEATURES\ _Feature_Name_ for Feature.xml files. Can only contain the following characters: <br/> alphanumeric <br/> hyphen (**-**) <br/> underscore (**_**) <br/> period (**.**) <br/> space ( ) <br/> |
53
50
|**Type** <br/> |Optional **Text**. Specifies that the file be cached in memory on the front-end server. Possible values include **Ghostable** and **GhostableInLibrary**. Both values specify that the file will be cached, but **GhostableInLibrary** specifies that the file will be cached as part of a list whose base type is **Document** **Library**.<br/><br/>For example, when changes are made to a home page through the user interface (UI), only the differences between the original page definition and the new page are stored in the database. The default.aspx is cached in memory, in addition to the schema files. The HTML page that is displayed in the browser is constructed through the combined page definition that results from the original page definition that is cached in memory and from changes that are stored in the database. <br/> |
54
51
|**Url** <br/> | Required **Text**. Specifies the virtual path for the file. If the **Name** attribute is specified, its value is used for the virtual path. If **Path** is not specified, the value of **Url** is used for the physical path. Cannot contain the following characters: <br/> \" <br/> # <br/> % <br/> & <br/> \* <br/> : <br/> \< <br/> \> <br/> ? <br/> \\ <br/> { <br/> } <br/> | <br/> ~ <br/> \x7f <br/> |
0 commit comments