Hi, A module A have inlinks from module B. These links have been created on current version of module A. I need copy these links on old baseline of module A. How can i do by script ?
Thanks Pierre PDU - Wed Sep 03 10:10:25 EDT 2014 |
Re: copy link from baseline to another Easiest method would be to export the absolute numbers from a view in the baseline to a csv file, Then import the csv file into current version. Then link by attribute. |
Re: copy link from baseline to another IBM_Gust - Wed Sep 03 14:20:23 EDT 2014 Easiest method would be to export the absolute numbers from a view in the baseline to a csv file, Then import the csv file into current version. Then link by attribute. From an old baseline ti current, OK, but what i need is to copy inlinks from corrunt to an old baseline. |
Re: copy link from baseline to another PDU - Thu Sep 04 01:05:13 EDT 2014 From an old baseline ti current, OK, but what i need is to copy inlinks from corrunt to an old baseline. Then you are unfortunate. Links are always stored in the source module, so if you want links from baseline of A to current of B, you would have to modify baseline of A, which is not possible.
BR, |
Re: copy link from baseline to another Mike.Scharnow - Thu Sep 04 05:31:09 EDT 2014 Then you are unfortunate. Links are always stored in the source module, so if you want links from baseline of A to current of B, you would have to modify baseline of A, which is not possible.
BR, Source is B Target is A no modification baseline of source module B. But i need copy links B-->A from current ersion to old baseline. Pierre |
Re: copy link from baseline to another PDU - Thu Sep 04 05:38:56 EDT 2014 Source is B Target is A no modification baseline of source module B. But i need copy links B-->A from current ersion to old baseline. Pierre Hi Pierre, sorry for being unspecific: you have been talking about inlinks. Inlinks cannot be copied, it's only outlinks that are stored and that can be copied. But if you really want to create links *from* a current version *to* a baseline, then you can use e.g. the script by Steve Valliere on It is not exactly what you need, as the use case here is that the original link is in a baseline instead of the current version, but you can easily adopt it : - change the line "if(isBaseline(mv))" to "if (not isBaseline(mv))" - remove the if clause about '(versionString(mv) "" == cVersion' - omit the "delete ol" and "flushDeletions" if you want to copy instead of move - comment out the line "save m" until you are absolutely convinced that all links have been copied correctly |
Re: copy link from baseline to another Mike.Scharnow - Thu Sep 04 06:57:45 EDT 2014 Hi Pierre, sorry for being unspecific: you have been talking about inlinks. Inlinks cannot be copied, it's only outlinks that are stored and that can be copied. But if you really want to create links *from* a current version *to* a baseline, then you can use e.g. the script by Steve Valliere on It is not exactly what you need, as the use case here is that the original link is in a baseline instead of the current version, but you can easily adopt it : - change the line "if(isBaseline(mv))" to "if (not isBaseline(mv))" - remove the if clause about '(versionString(mv) "" == cVersion' - omit the "delete ol" and "flushDeletions" if you want to copy instead of move - comment out the line "save m" until you are absolutely convinced that all links have been copied correctly Thanks !! I try as soon as possible. |