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

sp webpart base.iwebpartdata.instanceid

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

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

IWebPartData.instanceId property

Universally unique instance id of the web part. A web part can have multiple instances on a page. This id is expected to be universally unique across time and page boundaries.

Signature:

instanceId: string;

Remarks

supported values: a unique string. Could be GUID or other uniquely identifiable formats.

example: ["dbef608d-3ad5-4f8f-b139-d916f2f0a294"]

Clone this wiki locally