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

sp webpart base.iserializedwebpartdata

John Nguyen edited this page Aug 19, 2021 · 3 revisions

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

ISerializedWebPartData interface

This structure represents the part of the serialized state of a web part which is controlled by the web part. It is extended by IWebPartData which contains additional data added by the framework to the serialized data.

Signature:

export interface ISerializedWebPartData

Properties

Property Type Description
dataVersion Version Web part data version.
dynamicDataPaths? { [path: string]: string; } (BETA) (Optional) Paths for the dynamic data. This is used to reconstruct the dynamic data objects when deserializing the web part.
dynamicDataValues? { [path: string]: any; } (BETA) (Optional) Static values for the dynamic data. This is used to reconstruct the dynamic data objects when deserializing the web part.
properties? any (Optional) Web part specific properties. The individual web part owns the definition of these properties.
serverProcessedContent? ISerializedServerProcessedData (Optional) The collections of data that can be processed by server side services like search index and link fixup.
Clone this wiki locally