Skip to main content
Inspiring
August 25, 2014
Question

Multiscreen HTML5 Map ID file: loadcsh.js - rhmapno parameter is converted to uppercase and CSH not working

  • August 25, 2014
  • 1 reply
  • 752 views

Our developer is reporting that RoboHelp 11 is converting the parameter rhmapno to uppercase RHMAPNO in the loadcsh.js Multiscreen HTML5 output file, and the CSH is not working (see below from the file).

Is anyone else having this problem and can suggest a solution?

function loadTopic(defaultTopicURL)

{

  gDefTopicURL = defaultTopicURL;

  var mapnum = getUrlParameter(RHMAPNO);

  if(mapnum!="")

  {

  showCSHTopic(ITEMTYPEMAPNO, mapnum);

  return true;

  }

Thanks.

Gina

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
August 26, 2014

There are several copies of that script in your Rh installation folder. I just looked at the one in

C:\Program Files (x86)\Adobe\Adobe RoboHelp 11\CSH API\iOS\helpfiles\iphone\template\scripts

and it is already set to uppercase there so it is not getting changed.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Participant
August 26, 2014

Hi Peter,

The issue has to do with the actual value held by the "RHMAPNO" variable. The Regular Expression comparison is case sensitive and when comparing the "rhmapno" (this is the value held by RHMAPNO varaible) against the redirected URL parameter (index.htm?RHMAPNO=2002)


This results in the failure of the appropriate section help load.

Willam van Weelden
Inspiring
August 28, 2014

Hello William,

The resolution is to change the rhmapno variable to upper case in the constant.js file.  We tested this by manually editing one of the HTML5 profiles; however, within RoboHelp is there a way to permanently make this change to avoid human error?

Thank you for your help thus far, and thanks in advance for your continued help.

Erica


Permanently? You can change the seed files as Peter already indicated. And you can file a bug with Adobe: Adobe - Feature Request/Bug Report Form

Kind regards,

Willam