Skip to main content
May 28, 2024
Question

Is "documentAccess": "dynamic-page" mandatory for publish new plugin?

  • May 28, 2024
  • 3 replies
  • 324 views

Hi All,
I’m trying to private-publish a new plugin, but get a warning asking to update the manifest.json with “documentAccess”: “dynamic-page” . is this mandatory now?

This topic has been closed for replies.

3 replies

Figmate
May 29, 2024

Hi @TaylorT, Thank you for contacting us! I moved your topic to the Plugin and Widget API category making it more visible to other developers who may have valuable input.

Meanwhile, as per the linked document, “New plugins will include this manifest field by default.” Please feel free to take a look: Plugin Manifest - documentAccess?: ‘dynamic-page’

Hopefully, this will be of some assistance. If anyone from our community has additional insight for this, please jump in!

Thanks,

Joshua_Cusick
November 25, 2024

Im having issues with this in my plugin. The error I keep getting is unhandled promise rejection: Error: in get_mainComponent: Cannot call with documentAccess: dynamic-page. Use node.getMainComponentAsync instead.

tank666
November 25, 2024

The error speaks for itself:

figma.com
UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank