Skip to content

Commit 54ab622

Browse files
authored
Remove dataVersion pre-configured property
`dataVersion` pre-configured property has been removed a while ago.
1 parent 6665f06 commit 54ab622

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ Each item in the `preconfiguredEntries` array consists of several properties. Th
6363
| `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"` |
6464
| `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"` |
6565
| `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" }` |
66-
| `dataVersion` | string | no | Use this field to specify the data version of the pre-configured data provided to the web part. The data version is different from the version field in the manifest. The manifest version is used to control the versioning of the web part code, while data version is used to control the versioning of the serialized data of the web part. Refer to the `dataVersion` field of your web part for more information. Supported values format: MAJOR.MINOR version | `"dataVersion": "1.0"` |
6766
| `properties` | TProperties | yes | A key-value pair object with default values for web part properties. | `"properties": { "___location": "Redmond", "numberOfDays": 3, "showIcon": true }` |
6867

6968
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.

0 commit comments

Comments
 (0)