Page 1 of 1

Unable to invoke help topic using index.html file from WebHelp Classic Output for version 18.1

Posted: Tue Dec 20, 2016 12:28 pm
by manju
Hi,

We are using Oxygen XML Author 18.1 for generating WebHelp classic output.

We have copied these output files in our web application and trying to open any topic by passing its Id (helpID from context-help-map.xml) as below :
.../index.htm?contextId=ta_manage_create_item
but instead of opening topic corresponding to contextId passed default page opens up for any Id.

This was working fine when we used output generated from previous version i.e. 18.0.

Has way of calling topic changed in latest version?

Please reply soon, its urgent.

Thanks & Regards,
Manju

Re: Unable to invoke help topic using index.html file from WebHelp Classic Output for version 18.1

Posted: Tue Dec 20, 2016 5:20 pm
by bogdan_cercelaru
Hello,

We were able to reproduce this issue only if we are using a URL that explicitly contains a port number (other than default port, e.g. 8080).
To resolve this you have to open the "${DITA_OT_DIR}/plugins/com.oxygenxml.webhelp/oxygen-webhelp/resources/js/toc.js" file and delete the following lines (249 to 251):

Code: Select all


if (window.location.port!="") {
newLocation+=':' + window.location.port;
}
This fix will be included in the next maintenance build of Oxygen.
Please let us know if you need further assistance.

Regards,
Bogdan

Re: Unable to invoke help topic using index.html file from WebHelp Classic Output for version 18.1

Posted: Wed Dec 21, 2016 9:32 am
by manju
Thanks for your help. The solution is working fine.