Page 1 of 1
Breadcrumbs not displaying for topic within reused map
Posted: Thu Jan 21, 2016 1:46 pm
by ann.jensen
Hi,
I have a submap that is re-used in 2 locations within my source map. I am building WebHelp output. When I navigate to the first topic within this submap, I am not seeing any breadcrumbs for it. if I remove the second reference to this submap, the breadcrumbs generate fine.
I understand that this topic output essentially lives within 2 different locations (and within 2 different maps) and wonder what the implemented approach is for handling breadcrumbs with reused maps?
Any advice appreciated,
Regards,
Ann
Re: Breadcrumbs not displaying for topic within reused map
Posted: Fri Jan 22, 2016 1:27 pm
by radu_pisoi
Hi,
Thank you for reporting this issue.
I've managed to reproduce the problem both with DITA 1.8 and DITA 2.2. We are working to improve the Webhelp design in the next release and I hope we'll found resources to fix it.
An workaround is to duplicate the submap that you refer twice and in the second DITA map you have to set the copy-to attribute in the referenced DITA topics.
Re: Breadcrumbs not displaying for topic within reused map
Posted: Fri Jan 22, 2016 3:23 pm
by ann.jensen
Hi Radu,
Thanks for your reply. I have tried to use the copy-to attribute in order to create a second version of the referenced topic as follows -
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<title>Vendor Registration</title>
<topicref href="vendor_registration_header.dita" copy-to="vendor_registration_headerWF.dita">
<topicref href="c_register_vendor_header.dita" copy-to="c_register_vendor_headerWF.dita">
<topicref href="t_register_vendor_user_detailsWF.dita"/>
<topicref href="t_register_vendor_exec_scenarioWF.dita"/>
<topicref href="r_register_vendor_tech_detailsWF.dita"/>
</topicref>
<topicref href="c_invite_vendor.dita">
<topicref href="t_invite_vendor_user_details.dita"
copy-to="t_invite_vendor_user_detailsWF.dita"/>
<topicref href="t_invite_vendor_user_details2.dita"
copy-to="t_invite_vendor_user_details2WF.dita"/>
<topicref href="r_invite_vendor_tech_details.dita"
copy-to="r_invite_vendor_tech_detailsWF.dita"/>
<topicref href="t_invite_vendor_sample_exec_scenario.dita"
copy-to="t_invite_vendor_sample_exec_scenario.dita"/>
</topicref>
</topicref>
</map>
but while it creates the html file, it cannot be found by the generated URL which reads
Code: Select all
file:///C:/DevBranches/SystemDocumentation/development/AGS_Documentation/out/webhelp/AGS/index.html#c_register_vendor_headerWF.html
but which should be
Code: Select all
file:///C:/DevBranches/SystemDocumentation/development/AGS_Documentation/out/webhelp/AGS/index.html#dita_files/AGSSystems/AspeniProperties/vendor_registration/c_register_vendor_headerWF.html
I don't know how to make this work so that the generated path is correct.
Any advice appreciated,
Regards,
Ann
Re: Breadcrumbs not displaying for topic within reused map
Posted: Fri Jan 22, 2016 3:49 pm
by ann.jensen
Re: Breadcrumbs not displaying for topic within reused map
Posted: Tue Jan 26, 2016 5:28 pm
by radu_pisoi
Hi,
I have tried without success to reproduce your problem with the latest oXygen 17.1 which includes DITA-OT 1.8.5.
I have tried various situations with the second DITA map in a separate folder and also with the topics in a different folder than the DITA map.
For further investigations, could you send us a small DITA map project that includes also small topics at
support@oxygenxml.com?
Re: Breadcrumbs not displaying for topic within reused map
Posted: Thu May 05, 2016 11:21 am
by Radu
Hi,
Just to update this thread, the WebHelp classic output produced by Oxygen 18.0 should have this issue fixed.
Regards,
Radu