sp webpart base.iwebpartdata.dataversion - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki

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

IWebPartData.dataVersion property

Web part data version

Signature:

dataVersion: string;

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"

⚠️ **GitHub.com Fallback** ⚠️