Skip to content

Commit fd113e8

Browse files
Merge branch 'master' into docfix_column-formatting
2 parents 6a78e35 + 9547376 commit fd113e8

File tree

297 files changed

+6005
-6169
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

297 files changed

+6005
-6169
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474
"source_path": "docs/spfx/web-parts/guidance/creating-team-manifest-manually-for-webpart.md",
7575
"redirect_url": "docs/spfx/deployment-spfx-teams-solutions.md",
7676
"redirect_document_id": false
77+
},
78+
{
79+
"source_path": "docs/general-development/office-365-cdn.md",
80+
"redirect_url": "/office365/enterprise/use-office-365-cdn-with-spo",
81+
"redirect_document_id": false
7782
}
7883
]
7984
}

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You can also tweet / follow [@Microsoft365Dev](https://twitter.com/Microsoft365D
1414

1515
## SharePoint Framework Releases
1616

17-
Review all the SPFx releases here from the initial GA release in February 2017 in the docs: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/roadmap
17+
Review all the SPFx releases here from the initial GA release in February 2017 in the docs: https://docs.microsoft.com/sharepoint/dev/spfx/roadmap
1818

1919
## Get Started
2020

@@ -27,14 +27,14 @@ Review all the SPFx releases here from the initial GA release in February 2017 i
2727

2828
* [Background and Philosophy](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview)
2929
* [Design Great Web Parts](https://docs.microsoft.com/sharepoint/dev/design/design-guidance-overview)
30-
* [API Docs](https://docs.microsoft.com/javascript/api/sp-application-base)
30+
* [API Docs](/javascript/api/sp-application-base)
3131

3232
## Updates & Feedback
3333

3434
To keep track of improvements to the Office 365 Framework, please take a look at:
3535

3636
* [@SharePoint](https://twitter.com/sharepoint), [@Microsoft365Dev](https://twitter.com/Microsoft365Dev) and [@m365pnp](https://twitter.com/m365pnp) on Twitter
37-
* [Office Developer Blog](https://developer.microsoft.com/en-us/office/blogs/)
37+
* [Office Developer Blog](https://developer.microsoft.com/office/blogs/)
3838

3939
Provide Feedback:
4040

@@ -49,7 +49,7 @@ Please see following guidance if you are planning to submit changes on the Share
4949

5050
* [Contribution guidance](https://github.com/SharePoint/sp-dev-docs/blob/master/.github/CONTRIBUTING.md)
5151
* [How to Create Good Pull Requests](https://github.com/SharePoint/sp-dev-docs/wiki/How-to-Create-Good-Pull-Requests)
52-
* If you are a Microsoft contributor, please review official guidance from our [internal documentation](https://review.docs.microsoft.com/en-us/help/contribute/?branch=master) for docs.microsoft.com contributors
52+
* If you are a Microsoft contributor, please review official guidance from our [internal documentation](https://review.docs.microsoft.com/help/contribute/?branch=master) for docs.microsoft.com contributors
5353

5454
## Have Fun
5555

docs/apis/alm-api-for-spfx-add-ins.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ALM APIs can be used to perform exactly the same operations that are available f
2828
ALM APIs are supported for the tenant-scoped site collections and [site collection app catalog](../general-development/site-collection-app-catalog.md). Use the corresponding app catalog's URL to target a specific app catalog. You must first enabled a site collection app catalog before targeting it with the actions documented on this page.
2929

3030
> [!IMPORTANT]
31-
> Tenant-scoped permissions which require [tenant administrative approval](https://docs.microsoft.com/sharepoint/dev/solution-guidance/how-to-provide-add-in-app-only-tenant-administrative-permissions-in-sharepoint-online) are not supported with the ALM APIs.
31+
> Tenant-scoped permissions which require [tenant administrative permissions](../solution-guidance/how-to-provide-add-in-app-only-tenant-administrative-permissions-in-sharepoint-online.md) are not supported with the ALM APIs.
3232
3333
## Options for working with ALM APIs
3434

@@ -42,12 +42,12 @@ The app catalog must be included in all HTTP requests when using the REST API as
4242

4343
For example:
4444

45-
| Scope | Endpoint |
46-
| :-------------- | :--------------------------------------------------------------------------------------------- |
47-
| tenant | **https://contoso.sharepoint.com/sites/AppCatalog/_api/web/tenantappcatalog/{command}** |
48-
| site collection | **https://contoso.sharepoint.com/sites/Marketing/_api/web/sitecollectionappcatalog/{command}** |
45+
| Scope | Endpoint |
46+
| :-------------- | :------------------------------------------------------------------------------------------- |
47+
| tenant | `https://contoso.sharepoint.com/sites/AppCatalog/_api/web/tenantappcatalog/{command}` |
48+
| site collection | `https://contoso.sharepoint.com/sites/Marketing/_api/web/sitecollectionappcatalog/{command}` |
4949

50-
- when targeting the tenant app catalog located at **https://contoso.sharepoint.com/sites/AppCatalog**, the endpoint would be **
50+
- when targeting the tenant app catalog located at `https://contoso.sharepoint.com/sites/AppCatalog`, the endpoint would be **
5151

5252
Learn more here: [SharePoint REST API](../sp-add-ins/get-to-know-the-sharepoint-rest-service.md)
5353

@@ -57,7 +57,7 @@ The PnP CSOM implements the ALM APIs by calling the SharePoint REST API.
5757

5858
Before using any of the ALM APIs in PnP CSOM, you need to obtain an authenticated client context using the [Microsoft.SharePointOnline.CSOM](https://www.nuget.org/packages/Microsoft.SharePointOnline.CSOM). Then use the authenticated client context to get an instance of the PnP CSOM's **AppManager** object to call the ALM commands:
5959

60-
```cs
60+
```csharp
6161
using Microsoft.SharePoint.Client;
6262
using OfficeDevPnP.Core.ALM;
6363

@@ -72,7 +72,7 @@ using (var context = new ClientContext(webURL)) {
7272

7373
In all PnP Core methods, it's assumed the request targets the tenant app catalog in the tenant you connect to using the SharePoint CSOM `ClientContext` object. you can override the scope of all commands with an optional scope argument, for example
7474

75-
```cs
75+
```csharp
7676
appManager.Install('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx', AppCatalogScope.Site);
7777
```
7878

@@ -128,7 +128,7 @@ Byte array of the file
128128

129129
# [PnP CSOM](#tab/pnpcsom)
130130

131-
```cs
131+
```csharp
132132
// read file
133133
var filePath = "c:\path\to\file\sharepoint-solution-package.sppkg";
134134
// get an instance of the PnP CSOM's AppManager as shown above
@@ -190,7 +190,7 @@ POST /_api/web/{scope}appcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-
190190
191191
# [PnP CSOM](#tab/pnpcsom)
192192

193-
```cs
193+
```csharp
194194
appManager.Deploy('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')
195195
```
196196

@@ -237,7 +237,7 @@ POST /_api/web/{scope}appcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-
237237
238238
# [PnP CSOM](#tab/pnpcsom)
239239

240-
```cs
240+
```csharp
241241
// get an app package
242242
appManager.Retract('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')
243243
```
@@ -274,7 +274,7 @@ POST /_api/web/{scope}appcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-
274274

275275
# [PnP CSOM](#tab/pnpcsom)
276276

277-
```cs
277+
```csharp
278278
appManager.Remove('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')
279279
```
280280

@@ -357,7 +357,7 @@ GET /_api/web/{scope}appcatalog/AvailableApps
357357

358358
# [PnP CSOM](#tab/pnpcsom)
359359

360-
```cs
360+
```csharp
361361
var allAppPackages = appManager.GetAvailable();
362362
```
363363

@@ -419,7 +419,7 @@ GET /_api/web/{scope}appcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-x
419419

420420
# [PnP CSOM](#tab/pnpcsom)
421421

422-
```cs
422+
```csharp
423423
var appPackage = appManager.GetAvailable('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx');
424424
```
425425

@@ -463,7 +463,7 @@ POST /_api/web/{scope}appcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-
463463

464464
# [PnP CSOM](#tab/pnpcsom)
465465

466-
```cs
466+
```csharp
467467
// get an app package
468468
appManager.Install('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')
469469
```
@@ -508,7 +508,7 @@ POST /_api/web/{scope}appcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-
508508

509509
# [PnP CSOM](#tab/pnpcsom)
510510

511-
```cs
511+
```csharp
512512
// get an app package
513513
var appPackage = appManager.GetAvailable('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx');
514514
if (appPackage.CanUpgrade) {
@@ -559,7 +559,7 @@ POST /_api/web/{scope}appcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-
559559

560560
# [PnP CSOM](#tab/pnpcsom)
561561

562-
```cs
562+
```csharp
563563
appManager.Uninstall('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')
564564
```
565565

@@ -603,7 +603,7 @@ POST /_api/web/{scope}appcatalog/SyncSolutionToTeams(id=xxxxx)
603603

604604
# [PnP CSOM](#tab/pnpcsom)
605605

606-
```cs
606+
```csharp
607607
appManager.SyncToTeams('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')
608608
```
609609

0 commit comments

Comments
 (0)