Skip to content

Commit 9adf455

Browse files
Merge pull request SharePoint#9372 from HarminderSethi/main
changed group name from 'Other' to 'Advanced' for out-of-the-box grou…
2 parents 158fb14 + a03a6d3 commit 9adf455

File tree

4 files changed

+33
-33
lines changed

4 files changed

+33
-33
lines changed

docs/spfx/web-parts/basics/configure-web-part-icon.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Configure web part icon
33
description: The available options for configuring the icon for your SharePoint client-side web parts.
4-
ms.date: 06/16/2018
4+
ms.date: 12/05/2023
55
ms.localizationpriority: high
66
---
77

@@ -50,9 +50,9 @@ For a list of available Fluent UI icons, see [Icons](https://developer.microsoft
5050
"requiresCustomScript": false,
5151
"preconfiguredEntries": [
5252
{
53-
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Other
53+
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Advanced
5454
"group": {
55-
"default": "Other"
55+
"default": "Advanced"
5656
},
5757
"title": {
5858
"default": "Weather"
@@ -98,9 +98,9 @@ In addition to using Fluent UI icons, the SharePoint Framework also allows you t
9898
"requiresCustomScript": false,
9999
"preconfiguredEntries": [
100100
{
101-
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Other
101+
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Advanced
102102
"group": {
103-
"default": "Other"
103+
"default": "Advanced"
104104
},
105105
"title": {
106106
"default": "Weather"
@@ -147,9 +147,9 @@ A number of services are available online that you can use to base64-encode your
147147
"requiresCustomScript": false,
148148
"preconfiguredEntries": [
149149
{
150-
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Other
150+
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Advanced
151151
"group": {
152-
"default": "Other"
152+
"default": "Advanced"
153153
},
154154
"title": {
155155
"default": "Weather"
@@ -202,9 +202,9 @@ Specify the image's absolute URL in the `fullPageAppIconImageUrl` property in th
202202
"requiresCustomScript": false,
203203
"preconfiguredEntries": [
204204
{
205-
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Other
205+
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Advanced
206206
"group": {
207-
"default": "Other"
207+
"default": "Advanced"
208208
},
209209
"title": {
210210
"default": "Weather"

docs/spfx/web-parts/basics/hide-web-part-from-toolbox.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Hide a web part from the toolbox
33
description: How to hide a web part from showing up in the web part toolbox on a modern page
4-
ms.date: 06/16/2020
4+
ms.date: 12/05/2023
55
ms.localizationpriority: high
66
---
77

@@ -30,8 +30,8 @@ By default a SharePoint Framework client-side web part will be displayed in the
3030
"hiddenFromToolbox": true,
3131

3232
"preconfiguredEntries": [{
33-
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Other
34-
"group": { "default": "Other" },
33+
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Advanced
34+
"group": { "default": "Advanced" },
3535
"title": { "default": "HelloWorld" },
3636
"description": { "default": "HelloWorld description" },
3737
"officeFabricIconFontName": "Page",

docs/spfx/web-parts/guidance/localize-web-parts.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Localize SharePoint Framework client-side web parts
33
description: Broaden the appeal of your web part by localizing it for different languages spoken by SharePoint users all over the world.
4-
ms.date: 02/14/2022
4+
ms.date: 12/05/2023
55
ms.localizationpriority: high
66
---
77

@@ -183,8 +183,8 @@ You can broaden the appeal of your SharePoint Framework client-side web part by
183183
{
184184
// ...
185185
"preconfiguredEntries": [{
186-
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Other
187-
"group": { "default": "Other" },
186+
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Advanced
187+
"group": { "default": "Advanced" },
188188
"title": { "default": "Greeting" },
189189
"description": { "default": "Greets the user" },
190190
"officeFabricIconFontName": "Page",
@@ -224,8 +224,8 @@ Properties that support localization are of type **ILocalizedString**. Each loca
224224
{
225225
// ...
226226
"preconfiguredEntries": [{
227-
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Other
228-
"group": { "default": "Other", "nl-NL": "Anders" },
227+
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Advanced
228+
"group": { "default": "Advanced", "nl-NL": "Anders" },
229229
"title": { "default": "Greeting", "nl-NL": "Begroeting" },
230230
"description": { "default": "Greets the user", "nl-NL": "Begroet de gebruiker" },
231231
"officeFabricIconFontName": "Page",
@@ -591,8 +591,8 @@ Originally, the Greeting web part had the **greeting** property defined where th
591591
// ...
592592
593593
"preconfiguredEntries": [{
594-
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Other
595-
"group": { "default": "Other", "nl-NL": "Anders" },
594+
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Advanced
595+
"group": { "default": "Advanced", "nl-NL": "Anders" },
596596
"title": { "default": "Greeting", "nl-NL": "Begroeting" },
597597
"description": { "default": "Greets the user", "nl-NL": "Begroet de gebruiker" },
598598
"officeFabricIconFontName": "Page",

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

Lines changed: 14 additions & 14 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: 07/19/2022
4+
ms.date: 12/05/2023
55
ms.localizationpriority: high
66
---
77
# Simplify adding web parts with preconfigured entries
@@ -54,15 +54,15 @@ If you've built classic web parts with full-trust solutions, you can think of ea
5454

5555
Each item in the `preconfiguredEntries` array consists of several properties. The following table explains the purpose of each property.
5656

57-
| Property name | Value type | Required | Purpose | Sample value |
58-
| :----------------------- | :--------------- | :------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------- |
59-
| `title` | ILocalizedString | yes | The web part title that is displayed in the toolbox. | `"title": { "default": "Weather", "nl-nl": "Weerbericht" }` |
60-
| `description` | ILocalizedString | yes | The web part description that is displayed in the toolbox tooltips. | `"description": { "default": "Shows weather in the given ___location", "nl-nl": "Toont weerbericht voor de opgegeven locatie" }` |
61-
| `officeFabricIconFontName` | string | no | The icon for the web part that is displayed in the toolbox. Its value must be one of the [Office UI Fabric icon names](https://developer.microsoft.com/fluentui#/styles/web/icons). If this property has a value, the `iconImageUrl` property is ignored. | `"officeFabricIconFontName": "Sunny"` |
62-
| `iconImageUrl` | string | no | The icon for the web part that is displayed in the toolbox and is represented by an image URL. The image at the URL must be exactly 40x28 px. If the `officeFabricIconName` property doesn't have a value, this property must have a value. | `"iconImageUrl": "https://cdn.contoso.com/weather.png"` |
63-
| `groupId` | string | yes | The group ID to determine which modern group contains the web part in a modern site page. The SharePoint Framework reserves group IDs for [predefined groups](#predefined-modern-groups). The developer can pick one from those groups. If the developer fills an ID not in the predefined groups, it falls back to **Other** group. | `"groupId": "1edbd9a8-0bfb-4aa2-9afd-14b8c45dd489"` |
64-
| `group` | ILocalizedString | no | The group name in the web part picker to contain the web part in the classic page. If no value is provided, the web part is displayed in the **Miscellaneous** group. | `"group": { "default": "Content", "nl-nl": "Inhoud" }` |
65-
| `properties` | TProperties | yes | A key-value pair object with default values for web part properties. | `"properties": { "___location": "Redmond", "numberOfDays": 3, "showIcon": true }` |
57+
| Property name | Value type | Required | Purpose | Sample value |
58+
| :------------------------- | :--------------- | :------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------- |
59+
| `title` | ILocalizedString | yes | The web part title that is displayed in the toolbox. | `"title": { "default": "Weather", "nl-nl": "Weerbericht" }` |
60+
| `description` | ILocalizedString | yes | The web part description that is displayed in the toolbox tooltips. | `"description": { "default": "Shows weather in the given ___location", "nl-nl": "Toont weerbericht voor de opgegeven locatie" }` |
61+
| `officeFabricIconFontName` | string | no | The icon for the web part that is displayed in the toolbox. Its value must be one of the [Office UI Fabric icon names](https://developer.microsoft.com/fluentui#/styles/web/icons). If this property has a value, the `iconImageUrl` property is ignored. | `"officeFabricIconFontName": "Sunny"` |
62+
| `iconImageUrl` | string | no | The icon for the web part that is displayed in the toolbox and is represented by an image URL. The image at the URL must be exactly 40x28 px. If the `officeFabricIconName` property doesn't have a value, this property must have a value. | `"iconImageUrl": "https://cdn.contoso.com/weather.png"` |
63+
| `groupId` | string | yes | The group ID to determine which modern group contains the web part in a modern site page. The SharePoint Framework reserves group IDs for [predefined groups](#predefined-modern-groups). The developer can pick one from those groups. If the developer fills an ID not in the predefined groups, it falls back to **Other** group. | `"groupId": "1edbd9a8-0bfb-4aa2-9afd-14b8c45dd489"` |
64+
| `group` | ILocalizedString | no | The group name in the web part picker to contain the web part in the classic page. If no value is provided, the web part is displayed in the **Miscellaneous** group. | `"group": { "default": "Content", "nl-nl": "Inhoud" }` |
65+
| `properties` | TProperties | yes | A key-value pair object with default values for web part properties. | `"properties": { "___location": "Redmond", "numberOfDays": 3, "showIcon": true }` |
6666

6767
Some web part properties have a value of type `ILocalizedString`. This type is a key-value pair object that allows developers to specify strings for the different locales. At a minimum, a value of type `ILocalizedString` must contain the `default` value.
6868

@@ -95,17 +95,17 @@ An `ILocalizedString` value that isn't valid because the `default` key is missin
9595

9696
There are seven out-of-the-box groups as shown in the following table. Use the group ID in the `groupId` property.
9797

98-
| Group name | ID | Group includes... |
98+
| 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-
| Discovery | `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. |
105105
| Site tools | `070951d7-94da-4db8-b06e-9d581f1f55b1` | Web parts for site information and management. |
106-
| Other | `5c03119e-3074-46fd-976b-c60198311f70` | Web parts not in other groups. |
106+
| Advanced | `5c03119e-3074-46fd-976b-c60198311f70` | Web parts not in other groups. |
107107

108-
If the developer fills an ID not in the previous list, the web part falls back to the **Other** group.
108+
If the developer fills an ID not in the previous list, the web part falls back to the **Advanced** group.
109109

110110
To see how you can use preconfigured entries when building web parts, you'll build a sample gallery web part. Using several properties, users can configure this web part to show items from a selected list in a specific way. For brevity, you'll omit the actual implementation of the web part logic and will focus on using the `preconfiguredEntries` property to provide preconfigured versions of the gallery web part.
111111

0 commit comments

Comments
 (0)