sp webpart base.iserializedwebpartdata.dynamicdatapaths - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki

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

ISerializedWebPartData.dynamicDataPaths 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.

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

Signature:

dynamicDataPaths?: {
        [path: string]: string;
    };

Remarks

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

Example:

{
  'pageContextUser':
    'PageContext:user',
  'anotherWebPartProperty':
    'WebPart.c3be45f2-7cd9-4e92-9c6c-a01d24dc04cf.3d6307e4-c8e1-4b2d-bef9-f1689c6eb7ea:aProperty'
}

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