Page 1 of 1

Using the topicref copy-to attribute with WebHelp output

Posted: Fri Jun 14, 2019 5:33 pm
by bmerenbloom
My .ditamap has sub-maps. The sub-maps and related files are each stored in different folders of the repository
To successfully share a topic in multiple locations of my WebHelp output, I use <topicref "x/y/abc.dita" copy-to="abc.dita"> in the map that's in the folder where the file does not reside.

With the copy-to attribute in a .ditamap, the the transform process generates a local copy of x/y/abc.dita, and when a user clicks the TOC, WebHelp does not get confused and jump the user to the wrong TOC branch.

Here comes the question.

But the links within a shared topic can still jump to the wrong TOC. Can this be fixed?
Maybe I should never put a link within the text of a topic, and rely on TOCs and reltables instead. That would be unfortunate.

Re: Using the topicref copy-to attribute with WebHelp output

Posted: Wed Jun 19, 2019 12:06 pm
by ionela

Could you please specify what version of oXygen XML and the build number you currently use? You can find this information in oXygen XML menu Help > About.
Also, to further reproduce and investigate this issue on our side, could you please create a minimal valid sample DITA project and send it to us for analysis at: suppport [AT] oxygenxml [DOT] com.