Skip to content

Commit 0ffff02

Browse files
Merge pull request SharePoint#7090 from SmitaNachan/patch-24
Updated link and code for CLI for Microsoft 365
2 parents babf066 + af162b2 commit 0ffff02

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/spfx/web-parts/single-part-app-pages.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Using single part app pages in SharePoint Online
33
description: Using single part app pages in SharePoint Online
4-
ms.date: 09/07/2020
4+
ms.date: 06/14/2021
55
ms.prod: sharepoint
66
localization_priority: Priority
77
---
@@ -43,7 +43,7 @@ Following web part manifest demonstrates scenario where the web part is included
4343

4444
As a developer, the two most common ways to provision Single Part App pages is to use PnP PowerShell or CLI for Microsoft 365.
4545

46-
You can use [PnP PowerShell](https://docs.microsoft.com/powershell/sharepoint/sharepoint-pnp/sharepoint-pnp-cmdlets?view=sharepoint-ps) to update the page layout for the existing page with following script.
46+
You can use [PnP PowerShell](/powershell/sharepoint/sharepoint-pnp/sharepoint-pnp-cmdlets) to update the page layout for the existing page with following script.
4747

4848
[!INCLUDE [pnp-powershell](../../../includes/snippets/open-source/pnp-powershell.md)]
4949

@@ -64,10 +64,10 @@ Set-PnPClientSidePage -Identity "Page" -LayoutType SingleWebPartAppPage
6464

6565
```console
6666
m365 login
67-
m365 spo listitem set --webUrl https://contoso.sharepoint.com/sites/marketing --listTitle 'Site Pages' --id 3 --PageLayoutType SingleWebPartAppPage
67+
m365 spo listitem set --webUrl https://contoso.sharepoint.com/sites/marketing --listTitle "Site Pages" --id 3 --PageLayoutType SingleWebPartAppPage
6868
```
6969

70-
> Refer to the [CLI for Microsoft 365 documentation](https://pnp.github.io/cli-microsoft365/cmd/spo/listitem/listitem-set/) for complete details and examples on this command.
70+
> Refer to the [CLI for Microsoft 365 documentation](https://pnp.github.io/cli-microsoft365/cmd/spo/listitem/listitem-set.html) for complete details and examples on this command.
7171
7272
---
7373

0 commit comments

Comments
 (0)