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

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

Tue Dec 20, 2016 12:28 pm

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: 205

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

Tue Dec 20, 2016 5:20 pm

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

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

Wed Dec 21, 2016 9:32 am

Thanks for your help. The solution is working fine.

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 0 guests