Skip to content

Commit 5babc56

Browse files
committed
Fixup front matter build errors & markdown formatting
- address warnings on the MSDocs build report
1 parent d8590e6 commit 5babc56

File tree

8 files changed

+197
-351
lines changed

8 files changed

+197
-351
lines changed

docs/apis/onenote-migration-service.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
11
---
22
title: Migrating OneNote folders
3+
ms.date: 12/05/2020
34
ms.author: jhendr
45
author: JoanneHendrickson
56
manager: pamgreen
67
audience: Dev
78
ms.topic: article
89
ms.service: sharepoint-online
910
localization_priority: Priority
10-
ms.collection:
11+
ms.collection:
1112
- SPMigration
1213
- M365-collaboration
1314
search.appverid: MET150
1415
description: "Migrating OneNote folders using the SPO OneNote converting service"
1516
---
1617
# Migrating OneNote folders
1718

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.
1920

2021
There is now a OneNote converting service in SPO that lets you mark the **OneNote** notebooks that are being migrated to be converted.
2122

2223
## Example
2324

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.
2526

2627
![OneNote migration process](../images/onenote-migration-flow.png)
2728

28-
## Algorithm for checking whether to mark the folder as OneNote folder
29+
## Algorithm for checking whether to mark the folder as OneNote folder
2930

3031
For a normal folder, we use the following algorithm to determine whether it should be marked as **OneNote** folder or not.
3132

@@ -43,11 +44,11 @@ If the folder does not contain one .onetoc2 file, it is NOT considered to be a *
4344

4445
The CSOM will mark the `HTML_x0020_File_x0020_Type` field of the folder on SharePoint Online as `OneNote.Notebook`.
4546

46-
The marking must be done ONLY on the top-level OneNote folder candidate in the file hierarchy.
47+
The marking must be done ONLY on the top-level OneNote folder candidate in the file hierarchy.
4748

4849
Sample code:
4950

50-
```c#
51+
```csharp
5152
List list = context.web.Lists.GetById({listid});
5253
ListItem item = list.GetItemByUniqueId({itemid});
5354
Item[“HTML_x0020_File_x0020_Type”] =OneNote.Notebook”;

docs/apis/sharepoint-rest-graph.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Operations using SharePoint REST v2 (Microsoft Graph) endpoints
33
description: Perform basic create, read, update, and delete (CRUD) operations with the SharePoint v2 REST interface.
4-
ms.date: 9/10/2019
5-
ms.prod: sharepoint online
4+
ms.date: 12/05/2020
5+
ms.service: sharepoint-online
66
localization_priority: Priority
77
---
88

docs/apis/spod-copy-move-api.md

Lines changed: 49 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Microsoft 365 Copy and Move API (CreateCopyJobs)
3-
ms.date: 06/02/2020
3+
ms.date: 12/05/2020
44
ms.author: jhendr
55
author: JoanneHendrickson
66
manager: pamgreen
@@ -10,7 +10,7 @@ f1.keywords:
1010
ms.topic: article
1111
ms.service: sharepoint-online
1212
localization_priority: Priority
13-
ms.collection:
13+
ms.collection:
1414
- SPMigration
1515
- M365-collaboration
1616
search.appverid: MET150
@@ -19,27 +19,26 @@ description: "Microsoft 365 Copy and Move API (CreateCopyJobs)"
1919
# Microsoft 365 Copy and Move API (CreateCopyJobs)
2020

2121
>[!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.
2323
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.
2425

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*.
2827

2928
>[!IMPORTANT]
3029
>Learn more about [limitations](#limitations) of this API before you begin.
3130
32-
3331
## Method
3432

3533
### CreateCopyJobs
3634

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.
3836

3937
#### Syntax
4038

41-
`public List<SPCopyMigrationInfo> CreateCopyJobs(Uri[] exportObjectUris, Uri destinationUri, SPCopyMigrationOptions options)`
42-
39+
```csharp
40+
public List<SPCopyMigrationInfo> CreateCopyJobs(Uri[] exportObjectUris, Uri destinationUri, SPCopyMigrationOptions options)
41+
```
4342

4443
#### Parameters
4544

@@ -50,66 +49,76 @@ This method creates a new copy or move job that lets you copy or move a file or
5049

5150
##### SPCopyMigrationOptions
5251

53-
54-
`public bool IsMoveMode { get; set; }`
52+
```csharp
53+
public bool IsMoveMode { get; set; }
54+
```
5555

5656
>[!IMPORTANT]
5757
>By default, this is set to copy. For a move operation, set this parameter to true.
5858
59-
60-
`public bool IgnoreVersionHistory { get; set; }`
59+
```csharp
60+
public bool IgnoreVersionHistory { get; set; }
61+
```
6162

6263
If not specified, the version history will be ignored and not moved to the destination.
6364

64-
65-
`public bool AllowSchemaMismatch { get; set; }`
65+
```csharp
66+
public bool AllowSchemaMismatch { get; set; }
67+
```
6668

6769
This allows the item to move even if the target has a mismatched schema definition from the source list.
68-
6970

70-
`public bool AllowSmallerVersionLimitOnDestination { get; set; }`
71+
```csharp
72+
public bool AllowSmallerVersionLimitOnDestination { get; set; }
73+
```
7174

7275
This allows the move to take place if the target file has older version. By default it’s disallowed to prevent data loss.
7376

74-
75-
`public SPMigrationNameConflictBehavior NameConflictBehavior { get; set; }`
77+
```csharp
78+
public SPMigrationNameConflictBehavior NameConflictBehavior { get; set; }
79+
```
7680

7781
If a name conflict occurs at the target site, the default reports a failure.
7882

83+
```csharp
84+
public bool IncludeItemPermissions { get; set; }
85+
```
7986

80-
`public bool IncludeItemPermissions { get; set; }`
81-
82-
Reserved for interal use only.
83-
87+
Reserved for internal use only.
8488

85-
`public SPMoveAndShareFileInfo MoveAndShareFileInfo { get; set; }`
89+
```csharp
90+
public SPMoveAndShareFileInfo MoveAndShareFileInfo { get; set; }
91+
```
8692

8793
Reserved for internal use only.
8894

89-
90-
`public bool BypassSharedLock { get; set; }`
95+
```csharp
96+
public bool BypassSharedLock { get; set; }
97+
```
9198

9299
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.
93100

94-
95-
`public string[] ClientEtags { get; set; }`
101+
```csharp
102+
public string[] ClientEtags { get; set; }
103+
```
96104

97105
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.
98106

107+
```csharp
108+
public bool MoveButKeepSource { get; set; }
109+
```
99110

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.
103112

104113
>[!NOTE]
105114
>This is not like the normal copy, which only copies the most recent major version and doesn't maintain all the metadata.
106115
107-
108-
`public bool ExcludeChildren { get; set; }`
116+
```csharp
117+
public bool ExcludeChildren { get; set; }
118+
```
109119

110120
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.
111121

112-
113122
### Output
114123

115124
|Output parameter|Description|
@@ -119,20 +128,18 @@ For this operation, only the root level folder of the URL is copied. The sub-fol
119128
|JobQueueUri|URL for accessing Azure queue used for returning notification of copy and move process|
120129
|EncryptionKey| AES256CBC encryption key used to decrypt messages from job/manifest queue|
121130

131+
```csharp
132+
public Uri JobQueueUri { get; set; }
133+
```
122134

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.
124136

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
126138

127-
128-
## Limitations
129139
Currently, the following limitations are:
130140

131141
|What|Limitation|
132142
|:-----|:-----|
133143
|File size| A file must be less than 2 GB.|
134144
|Number of items| No more than 30,000 items in a job.|
135145
|Total size of job| Job size not to exceed 100 GB.|
136-
137-
138-

docs/scenario-guidance/Enterprise-Content-Management.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
---
22
title: Enterprise Content Management
3-
ms.date: 3/9/2015
3+
ms.date: 12/05/2020
44
ms.audience: ITPro
55
ms.topic: article
66
ms.prod: sharepoint
77
author: vesajuvonen
88
ms.author: vesaj
9-
ms.topic: sharepoint
109
localization_priority: Normal
1110
ms.assetid: 6f2336fc-0cdd-6596-fdb7-45607006b2c8
1211
description: "Last modified: March 09, 2015"

docs/schema/file-element.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
---
22
title: "File element"
3-
ms.author: kdeding
4-
author: kdeding
5-
manager: soliver
6-
ms.date: 3/9/2015
3+
ms.date: 12/05/2020
74
ms.audience: Developer
85
ms.topic: reference
96
ms.prod: sharepoint
@@ -13,15 +10,15 @@ api_name:
1310
api_type:
1411
- schema
1512
ms.assetid: db86d800-9f68-43cc-b7d5-3bd76537dfde
16-
description: Specifies a file to include within a module in a site definition configuration or Web template configuration.
13+
description: Specifies a file to include within a module in a site definition configuration or Web template configuration.
1714
---
1815

1916
# File element
2017

2118
**Applies to:** Lync 2013 | Lync Server 2013 | SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
22-
23-
Specifies a file to include within a module in a site definition configuration or Web template configuration.
24-
19+
20+
Specifies a file to include within a module in a site definition configuration or Web template configuration.
21+
2522
```XML
2623
<File
2724
DocumentTemplateForList = "Text" DoGUIDFixUp = "TRUE" | "FALSE"
@@ -52,7 +49,7 @@ The following sections describe attributes, child elements, and parent elements.
5249
|**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/> |
5350
|**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/> |
5451
|**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/> &amp; <br/> \* <br/> : <br/> \< <br/> \> <br/> ? <br/> \\ <br/> { <br/> } <br/> | <br/> ~ <br/> \x7f <br/> |
55-
52+
5653
### Child elements
5754

5855
- [AllUsersWebPart](alluserswebpart-element-site.md)
@@ -61,18 +58,16 @@ The following sections describe attributes, child elements, and parent elements.
6158
- [Property](property-element-sitemodule.md)
6259
- [View](view-element-site.md)
6360
- [WebPartConnection](webpartconnection-element-site.md)
64-
61+
6562
### Parent elements
6663

6764
- [Module](module-element-site.md)
68-
65+
6966
### Occurrences
7067

7168
- Minimum: 0
72-
- Maximum: Unbounded
73-
74-
### Remarks
69+
- Maximum: Unbounded
7570

76-
For an example that uses the **File** element, see [Module element (Site)](module-element-site.md).
77-
71+
### Remarks
7872

73+
For an example that uses the **File** element, see [Module element (Site)](module-element-site.md).

0 commit comments

Comments
 (0)