Skip to main content

Make it easier to fix broken variable references

  • September 22, 2023
  • 5 replies
  • 1064 views

pterisaur

If I create a variable and apply it to my design, then delete that variable, the design maintains a reference to a non-existant variable. This is reflected by a disabled/missing variable badge in the field or colors list:
image
image

The problem is, there’s no way to locate all instances of broken variable references. Through the process of learning to use variables, many have been created and re-created. There are broken references all over the place, and many have gone unnoticed.

It would be amazing to have a way to locate them all so they can be swapped for new variables.

dvaliao
Figmate
  • Community Support
  • September 25, 2023

Hey Teri, thanks for the feedback!

We’ll pass this onto our Variables team for consideration. There isn’t an easy way to locate them all yet, but you can use the quick command: Detach deleted variables to quickly get rid of any existing ghost variables.


Kingery_Michael

i just realized that when i moved a bunch of variable groups around it basically self destructed all of them so now i gotta pick those pieces up manually 😦


pterisaur
  • New Participant
  • October 12, 2023

Omg, it just detached 1,548 variables. 😳


pterisaur
  • New Participant
  • October 12, 2023

@dvaliao Actually this didn’t seem to detach all deleted variables. I ran the command and it did say it detached a ton, however I just clicked on a frame and it was still linked to a deleted variable (as indicated by a white tag in the field).


dvaliao
Figmate
  • Community Support
  • October 12, 2023

Interesting… we’ll pass this onto the team to look into and try to reproduce. In the meantime, does this walkthrough from our Designer Advocate, Miggi, help?

twitter.com

Reply


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