Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp webpart base.iserializedwebpartdata.dataversion

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-webpart-base > ISerializedWebPartData > dataVersion

ISerializedWebPartData.dataVersion property

Web part data version.

Signature:

dataVersion: Version;

Remarks

Note that 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 dataVersion field of your web part for more information.

Supported values: MAJOR.MINOR

Example: "1.0"

Clone this wiki locally