Skip to content

Commit 4048c37

Browse files
Merge pull request SharePoint#8321 from andrewconnell/content-update/issue7956
♻️ fix typo
2 parents 64d5268 + a7aa967 commit 4048c37

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/spfx/web-parts/guidance/simplify-adding-web-parts-with-preconfigured-entries.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Simplify adding web parts with preconfigured entries
33
description: Use preconfigured entries in a SharePoint Framework client-side web part to provide users with preconfigured versions of your web part.
4-
ms.date: 06/22/2022
4+
ms.date: 07/19/2022
55
ms.localizationpriority: high
66
---
77
# Simplify adding web parts with preconfigured entries
@@ -25,7 +25,7 @@ One of the properties specified in the web part manifest is the `preconfiguredEn
2525

2626
```json
2727
{
28-
"$schema": "../../../node_modules/@microsoft/sp-module-interfaces/lib/manifestSchemas/jsonSchemas/clientSideComponentManifestSchema.json",
28+
"$schema": "https://developer.microsoft.com/json-schemas/spfx/client-side-web-part-manifest.schema.json",
2929

3030
"id": "6737645a-4443-4210-a70e-e5e2a219133a",
3131
"alias": "GalleryWebPart",
@@ -34,7 +34,7 @@ One of the properties specified in the web part manifest is the `preconfiguredEn
3434
"manifestVersion": 2,
3535

3636
"preconfiguredEntries": [{
37-
"groupId": "1edbd9a8-0bfb-4aa2-9afd-14b8c45dd489", // Discover
37+
"groupId": "1edbd9a8-0bfb-4aa2-9afd-14b8c45dd489", // Discovery
3838
"group": { "default": "Under Development" },
3939
"title": { "default": "Gallery" },
4040
"description": { "default": "Shows items from the selected list" },
@@ -98,7 +98,7 @@ There are seven out-of-the-box groups as shown in the following table. Use the g
9898
| Group name | ID | Group includes... |
9999
| ------------------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------------------ |
100100
| Text, media, and content | `cf066440-0614-43d6-98ae-0b31cf14c7c3` | Web parts that display text, multi-media, documents, information from the web, and other rich content. |
101-
| Discover | `1edbd9a8-0bfb-4aa2-9afd-14b8c45dd489` | Web parts that organize, group, and filter content to help users discover information. |
101+
| Discovery | `1edbd9a8-0bfb-4aa2-9afd-14b8c45dd489` | Web parts that organize, group, and filter content to help users discover information. |
102102
| Communication and collaboration | `75e22ed5-fa14-4829-850a-c890608aca2d` | Web parts that facilitate information sharing, team work, and social interactions. |
103103
| Planning and process | `1bc7927e-4a5e-4520-b540-71305c79c20a` | Web parts that empower team productivity with the use of planning and process tools. |
104104
| Business and intelligence | `4aca9e90-eff5-4fa1-bac7-728f5f157b66` | Web parts for tracking and analyzing data, and for integrating business flow with pages. |

docs/spfx/web-parts/guidance/use-sp-pnp-js-with-spfx-web-parts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Use @pnp/sp (PnPJS) library with SharePoint Framework web parts
33
description: This library provides a fluent API to make building your REST queries intuitive and supports batching and caching.
4-
ms.date: 06/13/2022
4+
ms.date: 07/22/2022
55
ms.localizationpriority: high
66
---
77

@@ -118,7 +118,7 @@ Because the @pnp/sp library constructs REST requests, it needs to know the URL t
118118

119119
There are [two ways](https://pnp.github.io/pnpjs/getting-started) to ensure that you have correctly set up your requests; we use the `onInit` method in this example.
120120

121-
1. Open the **src\webparts\spPnPjsExample\SpPnPjsExampleWebPart.ts** file, and add an import statement for the pnp project configuratino file (more on this file below):
121+
1. Open the **src\webparts\spPnPjsExample\SpPnPjsExampleWebPart.ts** file, and add an import statement for the pnp project configuration file (more on this file below):
122122

123123
```typescript
124124
import { getSP } from './pnpjsConfig';

0 commit comments

Comments
 (0)