Skip to content

Commit ee72215

Browse files
committed
Video updates and polishing
1 parent 60259bf commit ee72215

8 files changed

+31
-18
lines changed

docs/spfx/extensions/get-started/build-a-hello-world-extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Build your first SharePoint Framework Extension (Hello World part 1)
33
description: Create an extension project, and then code and debug your Application Customizer.
4-
ms.date: 11/8/2018
4+
ms.date: 01/28/2020
55
ms.prod: sharepoint
66
localization_priority: Priority
77
ms.custom: scenarios:getting-started

docs/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Build your first ListView Command Set extension
33
description: Create an extension project, and then code and debug your extension by using SharePoint Framework (SPFx) Extensions.
4-
ms.date: 03/14/2019
4+
ms.date: 01/28/2020
55
ms.prod: sharepoint
66
ms.custom: scenarios:getting-started
77
---

docs/spfx/extensions/get-started/building-simple-field-customizer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Build your first Field Customizer extension
33
description: Create an extension project, and then code and debug your extension by using SharePoint Framework (SPFx) Extensions.
4-
ms.date: 03/14/2019
4+
ms.date: 01/28/2020
55
ms.prod: sharepoint
66
ms.custom: scenarios:getting-started
77
---

docs/spfx/extensions/get-started/hosting-extension-from-office365-cdn.md

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Host extension from Office 365 CDN (Hello World part 4)
33
description: Deploy your SharePoint Framework Application Customizer to be hosted from an Office 365 CDN and deploy that to SharePoint for end users.
4-
ms.date: 08/27/2018
4+
ms.date: 01/28/2020
55
ms.prod: sharepoint
66
localization_priority: Priority
77
ms.custom: scenarios:getting-started
@@ -29,31 +29,44 @@ You can also follow these steps by watching the video on the SharePoint PnP YouT
2929

3030
Office 365 CDN is the easiest way to host SharePoint Framework solutions directly from your tenant while still taking advantage of the Content Delivery Network (CDN) service for faster load times of your assets.
3131

32-
1. Download the [SharePoint Online Management Shell](https://www.microsoft.com/download/details.aspx?id=35588) to ensure that you have the latest version.
32+
1. Ensure that you have the latest version of the SharePoint Online Management Shell by running the PowerShell in Administrator role and executing following PowerShell cmdlet to download latest version of the cmdlets from [PowerShell Gallery](https://www.powershellgallery.com/packages/Microsoft.Online.SharePoint.PowerShell).
3333

34-
2. Connect to your SharePoint Online tenant by using PowerShell:
34+
![Run as administarator](../../../images/tutorial-get-started-4-run-spo-shell-admin.png)
35+
36+
```powershell
37+
Install-Module -Name Microsoft.Online.SharePoint.PowerShell
38+
```
39+
> [!TIP]
40+
> If you are using a non-Windows machine, you cannot use the SharePoint Online Management Shell. You can, however, manage these settings by using [Office 365 CLI](https://sharepoint.github.io/office365-cli/).
41+
42+
> [!NOTE]
43+
> You can also install SharePoint Online Management Shell using [an installer](https://www.microsoft.com/en-us/download/details.aspx?id=35588) available from the Microsoft download center, but in general PowerShell gallery option is recommended.
44+
45+
1. Confirm module installation if asked in the PowerShell window
46+
47+
1. Connect to your SharePoint Online tenant by using PowerShell:
3548
3649
```powershell
3750
Connect-SPOService -Url https://contoso-admin.sharepoint.com
3851
```
3952
40-
3. Get the current status of public CDN settings from the tenant level by executing the following commands one-by-one:
53+
1. Get the current status of public CDN settings from the tenant level by executing the following commands one-by-one:
4154
4255
```powershell
4356
Get-SPOTenantCdnEnabled -CdnType Public
4457
Get-SPOTenantCdnOrigins -CdnType Public
4558
Get-SPOTenantCdnPolicies -CdnType Public
4659
```
4760
48-
4. Enable public CDN in the tenant:
61+
1. Enable public CDN in the tenant:
4962
5063
```powershell
5164
Set-SPOTenantCdnEnabled -CdnType Public
5265
```
5366
5467
Public CDN has now been enabled in the tenant by using the default file type configuration allowed. This means that the following file type extensions are supported: CSS, EOT, GIF, ICO, JPEG, JPG, JS, MAP, PNG, SVG, TTF, and WOFF.
5568
56-
5. Execute the following command to get the list of CDN origins from your tenant:
69+
1. Execute the following command to get the list of CDN origins from your tenant:
5770
5871
```powershell
5972
Get-SPOTenantCdnOrigins -CdnType Public
@@ -80,7 +93,7 @@ Office 365 CDN is the easiest way to host SharePoint Framework solutions directl
8093
...
8194
```
8295
83-
2. Open **write-manifests.json** file from the **config** folder. This file should be only updated when you are using external CDN system. Ensure that the **cdnBasePath** attribute is exactly as shown below. If it has any other entry, automatic hosting with Office 365 Public CDN will not work.
96+
1. Open **write-manifests.json** file from the **config** folder. This file should be **only** updated when you are using external CDN system. Ensure that the **cdnBasePath** attribute is exactly as shown below. If it has any other entry, automatic hosting with Office 365 Public CDN will not work.
8497
8598
```json
8699
{
@@ -89,23 +102,23 @@ Office 365 CDN is the easiest way to host SharePoint Framework solutions directl
89102
}
90103
```
91104
92-
3. Execute the following tasks to bundle your solution. This executes a release build of your project. Due the configurations which were applied in the previous steps, it means that all assets are inside of the **sppkg** file and there is not other actions to be performed.
105+
1. Execute the following tasks to bundle your solution. This executes a release build of your project. Due the configurations which were applied in the previous steps, it means that all assets are inside of the **sppkg** file and there is not other actions to be performed.
93106
94107
```
95108
gulp bundle --ship
96109
```
97110
98-
4. Execute the following task to package your solution. This command creates an **app-extension.sppkg** package in the **sharepoint/solution** folder.
111+
1. Execute the following task to package your solution. This command creates an **app-extension.sppkg** package in the **sharepoint/solution** folder.
99112
100113
```
101114
gulp package-solution --ship
102115
```
103116
104-
6. Upload or drag-and-drop the newly created client-side solution package to the app catalog in your tenant, and then select the **Deploy** button. Notice how the ___domain definition is updated as **SharePoint Online** as your assets will be now automatically hosted with Office 365 CDN.
117+
1. Upload or drag-and-drop the newly created client-side solution package to the app catalog in your tenant, and then select the **Deploy** button. Notice how the ___domain definition is updated as **SharePoint Online** as your assets will be now automatically hosted with Office 365 CDN.
105118
106119
![app catalog Trust Dialog with path to CDN endpoint](../../../images/ext-app-approve-cdn-address.png)
107120
108-
7. Install the new version of the solution to your site, and ensure that it's working properly without your *locahost* hosting the JavaScript file. Notice that if you did NOT remove the package with localhost installation before updating it in the app catalog, your site is automatically running the updated version and placeholders are rendered from the CDN.
121+
1. Install the new version of the solution to your site, and ensure that it's working properly without your *locahost* hosting the JavaScript file. Notice that if you did NOT remove the package with localhost installation before updating it in the app catalog, your site is automatically running the updated version and placeholders are rendered from the CDN.
109122
110123
![Custom header and footer elements rendered in the page](../../../images/ext-app-header-footer-visible.png)
111124

docs/spfx/extensions/get-started/query-suggestion-tutorial-building.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Building a query suggestion extension using SharePoint Framework
33
description: Tutorial on creating a query suggestion extension with SharePoint Framework
4-
ms.date: 01/04/2020
4+
ms.date: 01/28/2020
55
ms.prod: sharepoint
66
localization_priority: Normal
77
---

docs/spfx/extensions/get-started/serving-your-extension-from-sharepoint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Deploy your extension to SharePoint (Hello World part 3)
33
description: Deploy your SharePoint Framework Application Customizer to SharePoint and see it working on modern SharePoint pages.
4-
ms.date: 11/8/2018
4+
ms.date: 01/28/2020
55
ms.prod: sharepoint
66
localization_priority: Priority
77
ms.custom: scenarios:getting-started

docs/spfx/extensions/get-started/using-page-placeholder-with-extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Use page placeholders from Application Customizer (Hello World part 2)
33
description: Extend your Hello World extension to take advantage of page placeholders by using SharePoint Framework (SPFx) Extensions.
4-
ms.date: 03/14/2019
4+
ms.date: 01/28/2020
55
ms.prod: sharepoint
66
ms.custom: scenarios:getting-started
77
---

docs/spfx/set-up-your-development-environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You can also follow these steps by watching this video on the SharePoint PnP You
2727

2828
Install [NodeJS LTS version 10](https://nodejs.org/dist/latest-v10.x/).
2929

30-
- If you are in Windows, you can use the msi installers ([x86](https://nodejs.org/dist/latest-v10.x/node-v10.19.0-x86.msi) or [x64](https://nodejs.org/dist/latest-v10.x/node-v10.19.0-x64.msi)) in this link for the easiest way to set up NodeJS.Typical insta
30+
- If you are in Windows, you can use the msi installers ([x86](https://nodejs.org/dist/latest-v10.x/node-v10.19.0-x86.msi) or [x64](https://nodejs.org/dist/latest-v10.x/node-v10.19.0-x64.msi)) in this link for the easiest way to set up NodeJS (notice that these direct links evolve over time, so check the latest v10 from the above directory).
3131
- If you have NodeJS already installed, check that you have the latest version by using `node -v`. It should return the current [LTS version](https://nodejs.org).
3232

3333
> [!IMPORTANT]

0 commit comments

Comments
 (0)