Skip to main content
Julian_Oczkowski
September 9, 2023
Solved

Referencing widgets in plugins

  • September 9, 2023
  • 2 replies
  • 481 views

Hi all hope you are well.
I am getting into putting plugins together and I have this simple one that upon run creates a set of pages and pulls in some components from my teams library.
I am using “const firstComponentKey =” and it works great.

Wondering if I could pull in a widget automatically after plugin runs?
Thank you!

This topic has been closed for replies.
Best answer by James_Yang

You can clone existing widgets using the plugin API, but you can’t insert brand-new widgets. Inserting widgets needs to be a user-initiated action for security reasons.

2 replies

James_Yang
Figmate
Figmate
September 11, 2023

You can clone existing widgets using the plugin API, but you can’t insert brand-new widgets. Inserting widgets needs to be a user-initiated action for security reasons.

Julian_Oczkowski
September 12, 2023

Thank you James_Yang that makes perfect sense.