Skip to main content
Question

What are the available values for "documentAccess" in manifest.json?


Kaitlyn_Ly

I am working on a plugin that is calling a function that requires access to other pages in the Figma file.

What are the allowed values for documentAccess in the manifest.json? Do I just put an empty string for it?

This topic has been closed for replies.

3 replies

tank666
  • 4873 replies
  • March 19, 2024

Currently, the documentAccess property only accepts dynamic-page value.

figma.com

Kaitlyn_Ly

Does this mean that if a plugin requires access to other pages I would need to set documentAccess to dynamic-page and then update all usages of functions that are deprecated to use their async equivalent?
E.G.) getLocalPaintStylesgetLocalPaintStylesAsync.


tank666
  • 4873 replies
  • April 8, 2024

Yes, if you add a documentAccess field to your manifest, you will need to use async methods.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings