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

sp webpart base.iwebpartdata.dynamicdatavalues

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

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

IWebPartData.dynamicDataValues property

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Static values for the dynamic data.This is used to reconstruct the dynamic data objects when deserializing the web part.

Signature:

dynamicDataValues?: {
        [path: string]: any;
    };

Remarks

The key is the path within the web part properties, and the value is the dynamic data static value.

Example:

{
  'aStringProperty': 'thisIsAString',
  'aBooleanProperty': true
}

Clone this wiki locally