In the last few weeks my team has noticed that after going back into files that have been edited in InCopy, a random number of custom or URL hyperlinks have just disappeared (but not there hyperlink text sources so we have to spend extra work cleaning those out in order to relink things), and this is causing some massive headaches for our workflow.
It should be noted that almost nothing we do is standard operating procedure for InDesign workflows; we are exporting to HTML with the help of a plugin, we use InDesign/InCopy through shared OneDrive/Sharepoint folders, I’ve built several custom plugin tools to add new funtionality to our HTML books - this being one of them.
My plugin tool uses the hyperlink features of indesign to inject event listeners into the hyperlink html elements, which can then be hovered or tapped on in the HTML export for little pop-ups. This has worked for a few years now and while there has been more than its fair share of problems the created hyperlinks having disappeared has never been one of them. Does anyone have insight as to why this could be happening? was there something the latest 21.1 version updates of InDesign or InCopy that could be affecting it?
Edit: I can confirm that not working out of OneDrive/SharePoint has not helped. I tested using a book i knew had the issue just working out of my downloads folder. I opened the book in InDesign, corrected a few links, then opened it in InCopy and checked out the story with the links (the links as still showing in InCopy’s hyperlink link panel both before and after checking out/in a story), then reopened in InDesign and poof, they’re gone. (After a bit more testing, some times the hyperlinks seem to be missing in InCopy as well, but not always.) However it seems only the last made hyperlink is retained.
Looking at the XML in the story file, i can see there only seems to be one or two <HyperlinkURLDestination> objects, yet all the <HyperlinkTextSource>.
In InDesign:
In InCopy:
Back in InDesign:


