Skip to main content
Solved

Moving components between files

  • August 31, 2022
  • 6 replies
  • 5580 views

Joshua_Kaufman

I have a component that’s currently in File A. However, I want to move this component to File B so that its instances will now point to File B. How do I do this?

Best answer by tank666

  1. First you had to publish the source file as a library;
  2. Then cut and paste the component from the source file into the destination file (your second library file);
  3. Publish the library change, agreeing to the component move;
  4. Accept the library update in the source file.

Please see the Help Center article in my post above if you haven’t already.

View original
This topic has been closed for comments

6 replies

Amalya_Henderson

Unfortunately, I don’t think there’s a super easy way to do this. Once you remove the component from File A, all the instances will remain with a note in the right panel that the parent component has been deleted. Once you add the component to File B, you would then have to swap each existing instance to point to the File B component using the Swap Instance functionality in the right panel.

(These instructions are assuming that File B is a library file that is linked to whatever files the instances are in. Not sure if it’s as simple if File B isn’t a library since I don’t have as much experience with that.)


Abel3
  • 3 replies
  • May 26, 2023

Hi @Joshua_Kaufman ! Was wondering if you found an easier solution to this instead of manually changing all the instances 😃

Thanks!


tank666
  • 4868 replies
  • May 26, 2023

Abel3
  • 3 replies
  • May 27, 2023

Thanks for responding @tank666 ! That’s what I initially did, but it didn’t work. The components I moved were initially unpublished. Publishing after moving them to a different file still does redirects me to the original file when I click “Go to main component” on the 2nd file.


tank666
  • 4868 replies
  • Answer
  • May 27, 2023
  1. First you had to publish the source file as a library;
  2. Then cut and paste the component from the source file into the destination file (your second library file);
  3. Publish the library change, agreeing to the component move;
  4. Accept the library update in the source file.

Please see the Help Center article in my post above if you haven’t already.


Abel3
  • 3 replies
  • June 2, 2023

Thanks @tank666! That works.

I made changes already on the other file though. So I still have to redo the links manually. I’ll take note of that for next time 😃


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