How to get all the associated properties of Web part in SharePoint framework?

1 Answer 1


Simple. Let's say we want to get the instanceId of the spfx web part, we can simply get it by "this.context.instanceId". Here is list of some other properties the intelisense shown:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.