Copy Links to New Modules

I have two modules I want to copy, but preserve the link sets between them. As expected though, when I copy the modules, the new module's links point to the original module. (New Module B has links pointing to Old Module A, when I'm looking to have New Module B point to New Module A).

 

Is there a way to have all of the links point to the entries in the new module instead?

 

Thanks for any help


bgd_se - Tue Jul 07 16:18:00 EDT 2015

Re: Copy Links to New Modules
kourosh - Wed Jul 08 13:09:43 EDT 2015

Did you try using the Paste Special option after you copied the module?

Re: Copy Links to New Modules
bgd_se - Wed Jul 08 14:32:09 EDT 2015

kourosh - Wed Jul 08 13:09:43 EDT 2015

Did you try using the Paste Special option after you copied the module?

Yes, I'm using paste special which allows me to copy the links along with the module, but I think I need to do something more to get the links to point where I want.

Re: Copy Links to New Modules
PRM - Wed Jul 08 19:04:29 EDT 2015

bgd_se - Wed Jul 08 14:32:09 EDT 2015

Yes, I'm using paste special which allows me to copy the links along with the module, but I think I need to do something more to get the links to point where I want.

The problem here is that when you copy an individual module that is the source of links, you also get a copy of the source links back to the same target module.

A possible method to try is as follows.

  1. Create a temporary new folder, lets call this new folder "Temp"
  2. As per your original post above, I assume that Module B is the source of links to Module A
  3. Move Module A and Module B to the "Temp" folder
  4. Copy and paste the "Temp" folder - this will create a new folder called "Copy of Temp"
  5. The "Copy of Temp" folder now has a copy of Module A and Module B with a copy of the links preserved between the two modules. A new linkset for these copied links will be in the same link module as the links in the original Module A and Module B 
  6. Please note that if either Module A or Module B are the source of links to other target modules, then these links will be copied as well. If you don't want these, then you will need to remove those links - if you are confident with editing Link Modules then just delete the new linksets between the copies of Module A and Module B to the other modules, or you can use the Link>>Delete>>Delete Links menu option in the copy of Module A and Module B to remove these unwanted outgoing links to other modules.
  7. Move the original Module A and Module B out of the "Temp" folder back to their original folder
  8. The copies of Module A and Module B can now be moved to another folder - but rename them if they are going into the same folder as the original Module A and Module B

Paul Miller
Melbourne Australia

 

Re: Copy Links to New Modules
DoorsXLAustralia - Thu Jul 09 00:04:47 EDT 2015

A similar solution to Paul's can be done using Archive Restore if you want only the links between Module A and Module B

  1. Create a temporary new Project, lets call this new project "Temp"
  2. As per your original post above, I assume that Module B is the source of links to Module A
  3. Move Module A and Module B to the "Temp" project
  4. Also move the link module containing the links from A to B into the Temp project
  5. Archive the "Temp" project
  6. Move the modules back to where they started and delete the Temp project
  7. Now restore the Temp project and you will have just the 2 modules with their links

Another solution is to simply

  1. Archive the project containing Module A and Module B and the link module
  2. Restore a copy of the project from the archive file but deselect all the project contents except for ModuleA, ModuleB and the link module

Sean

 

Re: Copy Links to New Modules
bgd_se - Thu Jul 09 16:12:51 EDT 2015

Excellent, I tried them out and both solutions worked. It was a little simpler for me because I had only those two modules and they were not linked to anything outside of the current project, but very good to know in case I am working in something more complicated.

Thanks guys, much appreciated.