Hyperlinks copy/pasted between files *appear* to break after source document is removed.
Using CC2019 on a Mac running High Sierra
Steps to reproduce:
1) Create a document with a few hyperlinks in it.
2) Whilst this document is open, open a 2nd document, and copy/paste the links from one document to the other.
3) Save both and close.
4) Trash source document
Expected result: hyper links should work in Target document as expected.
Actual result: hyperlinks all appear broken in document. Whilst an exported PDF appears to still work, ID reports all those links as broken.
If you retrieve the source document from the trash, it the links in the target document suddenly start working again, meaning your not actually pasting the hyperlink, but theres some sort of link that exists between the source and target document.
Saving target file as a new file, saving as idml, has no effect – those links are still tied to the source document.
This in an absolute tragedy if you are working on large documents with lots of links, and needs fixing ASAP
H F commented
Yes, if a text box contains a URL hyperlink and you copy and paste that text box to a different document, the hyperlink goes away.
Sorry, but I neglected to state in Step 4 that you need to Paste after you Copy or Cut the Text frame.
Allan Shearer commented
Using InDesign CC 2018 (but this has existed in previous versions, at least back to 2015).
If you have a Hyperlink set to another INDD file and you do NOT have that other file open ... then, if you Cut or Copy and Paste that hyperlink, it will break.
1. Open the attached Chapter 1.indd and Chapter 2.indd files. Notice in each file there is a single hyperlink to the other file.
2. Close ONE of the files and keep the other open.
3. Open the Hyperlinks panel to observe the state of the hyperlinks - they should be 'ok' (if not, make sure you adjust the hyperlinks so that they are working properly, per the location where you have saved these demo files).
4. Copy or Cut the frame containing the hyperlink (e.g., the text frame with the words "Chapter 1, Link to Chapter 2")
5. Now look at the Hyperlinks panel ... notice that the hyperlink is now broken.
Additional info (you need not do this... but, this happens to be how I check for broken hyperlinks, namely looking for the "ClipboardScrap1" Destination string and the DestinaionUniqueKey="0" or "") If you export the file to IDML (or IDMS) you'll be able to see in an XML editor that the DestinationUniqueKey="0" (broken), and the Destination ListItem path now looks similar to this:
<ListItem type="string">C:\Users\allanshearer\AppData\Local\Adobe\InDesign\Version 13.0\en_GB\Caches\InDesign ClipboardScrap1</ListItem>
Notice the ClipboardScrap1 text string ... this, of course, ought to be pointing to a valid file/folder location where either Chapter 1.INDD or Chapter 2.INDD reside.
This wouldn't be so bad if you only had a handful of hyperlinks ... but, we have a project where we have 30-40* INDD files hyperlinking amongst themselves, with 10,000+ hyperlinks. Actually ... InDesign works GREAT for this project ... SO LONG AS we avoid EVER EVER EVER cutting/pasting a hyperlink.
* Actually ... we have 30-40 INDD files, but we also have 2000+ additional INDD files which are used in Hyperlinking. Thus the potential for much tears is huge. Suffice to say, the problem isn't how many files we have ... since the problem exists with just this demo of 2 files and 2 hyperlinks.
The problem is ... much of our content is temporarily Anchored (coming-in as IDMS files) ... and the 'normal' method for Un-anchoring these objects (snippets) is to, yes you guessed: Cut/Paste the frame. Alas ... we cannot use this method, since it destroys our hyperlinks (causing a HUGE amount of work to fix them all).
So, we tip-toe around this problem ... for a couple of years now ... but boy-o-boy would it be NICE to see this fixed. (please!)
Steve Edwards commented
I've recently been working on a project where there are tables containing hyperlinks. When copying and pasting whole tables from one INDD file to another (on a Mac BTW) it is fine as long as the original document is open. If you copy the table, then close the document before pasting it into another INDD file, it is very slow, you get a spinning beachball and then it pastes it in. However, none of the hyperlinks work and when you select them in the hyperlinks panel, the link is empty.