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

sp component base.dynamicdatasourcemanager.updatemetadata

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

Home > @microsoft/sp-component-base > DynamicDataSourceManager > updateMetadata

DynamicDataSourceManager.updateMetadata() method

Updates the metadata of the Dynamic Data Source. It allows to update fields like title or description. Auto-generated fields like alias, componentId or instanceId cannot be updated.

Signature:

updateMetadata(metadata: Partial<IDynamicDataSourceMetadata>): void;

Parameters

Parameter Type Description
metadata Partial<IDynamicDataSourceMetadata> Partial of the metadata.

Returns:

void

Clone this wiki locally