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

Having trouble installing Oxygen? Got a bug to report? Post it all here.
manju
Posts: 9
Joined: Tue Dec 20, 2016 11:42 am

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

Post 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
bogdan_cercelaru
Posts: 222
Joined: Tue Jul 01, 2014 11:48 am

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

Post 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
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
manju
Posts: 9
Joined: Tue Dec 20, 2016 11:42 am

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

Post by manju »

Thanks for your help. The solution is working fine.
Post Reply