• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

RH9 CSH: Help buttons lead to wrong topics

Community Beginner ,
Nov 09, 2011 Nov 09, 2011

Copy link to clipboard

Copied

We are developing a Java-based web application. A context-sensitive help is to be implemented to this application. The help should be called via buttons at the different points. Each button should lead to appropriate topic.

The help was written in Word and imported to RoboHelp 9. In RH project we created association IDs for each subject and stored them in the map file ("associationId.h"). WebHelp was generated from this project and given with "associationId.h") to the developer.


We use Apache Wicket. First, we have built the RoboHelp_CSH.js in the header (see picture)

robohelp.jpg


Then we have implemented the "RH_ShowHelp" method on a button with "onClick" event:

RH_ShowHelp(0,'resources/de.gaf.wpm.web.BasePage/help/en/TanzaniaWPM_Manual_EN.htm',HH_HELP_CONTEXT,2)

Although we have specified 2 for the association ID, it always jumps to the topic with the ID 1 in the Help window.

It is important to clarify where we can find the error:

Is it produced by the creation and generation of the project, or by the application integration?

Where exactly should we build the “associationId.h” in the header?

How does this header file work in the RH JS method?

Views

804

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 09, 2011 Nov 09, 2011

Copy link to clipboard

Copied

Hi and welcome to the community,

Can you try the CSH tester in the tools Pod? Does the help open the correct topic when using that tool?

I see that the script you are using has a date of 1998-2008 copyright notice. Can you take the latest RoboHelp_CSH.js from your RoboHelp install directory, directory CSH API\JavaScript.

I don't understand your last three questions. What exactly do you mean? You give the .h file to the developer so the developer knows which Topic Id's (Map Id's in RH) are associated with which Map numbers (Map Id in the API syntax). All information for the CSH is available in the generated project. The API creates an URL string to call the help context sensitive.

See also:

Greet,

Willam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

Dear Willam,

thank your very much for your answer.

When testing the help with the CSH tester it was not possible to choose other Map IDs from the map file although we have 5 map IDs in the map file.

robohelp2.jpg

We also checked the version of the RoboHelp_CSH.js. The file is definitely the newest version we have with the date from 2010-12-20 and the copyright 1998 till 2008. We got an upgrade from RH 8 to 9. Could it be that somehow we didn’t get a newer RoboHelp_CSH.js by this upgrade? Is it possible to download it from Adobe?

Greet,

ekaterina

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

Just checked mine in RH9 - it's dated the same as yours.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

Hi,

The image from your first post shows an old CSH file. Is the CSH file on the server/application exactly the same as the file in your CSH API directory?

Are the id's assigned to topics? Perhaps you can only choose the map numbers that are assigned to topics. I have a more flexible CHS tester on my site, try that one: http://www.wvanweelden.eu/robohelp/context_sensitivity_tester

Greet,

Willam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 15, 2011 Nov 15, 2011

Copy link to clipboard

Copied

LATEST

We solved the problem. It was just a wrong index.html. Thank you for your fast help!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp