Skip to main content
Question

figma.fileKey undefined in org plugin

  • December 20, 2021
  • 5 replies
  • 1333 views

Blair1

Hey folks!

I’m trying to use the fileKey property in a plugin published privately within our organization. I have enablePrivatePluginApi set to true in my manifest, and it works when I run it locally, but after I publish it, I get undefined. Is this a bug, or is there a step I’m missing here?

Thanks!
Blair

5 replies

Gleb
  • Power Member
  • 4706 replies
  • December 20, 2021

Just to make sure, is the file you are trying it in place in the Org specifically or your personal space? I don’t know the specifics but it might be that it only works for files within the teams in the Org.


Blair1
  • Author
  • 6 replies
  • December 20, 2021

Yup, the file is in the Org


Blair1
  • Author
  • 6 replies
  • December 20, 2021

Specifically, the file is located in a team’s project within the Org, something like

My Organization > Library Team > Components > My File

Semi_Design_UED-MED

@Blair1 hi,so any solution you find to solve this problem?


ruiyitang

@Blair1 hello, facing the same problem today… So is there any solution to get the fileKey of the file in a plugin privately published within the organization? Thanks a lot!


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