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

Calling MapIDs from C# Application

Community Beginner ,
Oct 20, 2009 Oct 20, 2009

In the past our developers have managed to call Webhelp MapIDs from web-based applications (using the included Javascript APIs).

But this time they're trying to call Webhelp MapIDs from a Windows C# application. We've found scant RoboHelp 7 information online about this topic.

Specifically, the developers need to know where RoboHelp stores the MapIDs which correspond to the topic .htm files...similar to what's in the BSSCDefault.h file, but with the .htm file name ("Set Preferences.htm"), not the internal MapID name ("SetPreferences").

We assume that this information must be somewhere in the compiled WebHelp folder, but we can't find it anywhere. Does anybody know where RoboHelp writes this information? Is it compressed/encrypted, maybe? Or do I have to manually provide the dev team with a report of MapID linkages every time I change them?

Cheers,

Adam.

977
Translate
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

correct answers 1 Correct answer

Engaged , Oct 20, 2009 Oct 20, 2009

Hi,

RoboHelp provides CSH API files which can be called from C++ code, you can tell the developer to look into the C++ code and call that API.

The CSH API is located in C:\Program Files\Adobe\Adobe RoboHelp 7\CSH API folder location.

Apart from this every webhelp output location has a list of all the MAPID along with HTML file location. This is compiled as part of javascript+html.

you can open the whcshdata.htm file in webhelp output folder and search for SetCsh( function call. This is where the htm

...
Translate
Engaged ,
Oct 20, 2009 Oct 20, 2009

Hi,

RoboHelp provides CSH API files which can be called from C++ code, you can tell the developer to look into the C++ code and call that API.

The CSH API is located in C:\Program Files\Adobe\Adobe RoboHelp 7\CSH API folder location.

Apart from this every webhelp output location has a list of all the MAPID along with HTML file location. This is compiled as part of javascript+html.

you can open the whcshdata.htm file in webhelp output folder and search for SetCsh( function call. This is where the html output get to know about the MAPID and html file mapping.

Again, it is always better to call the CSH API, then to read the html and parse it and find out the MAPID mapping.

-Praful

Translate
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 ,
Oct 23, 2009 Oct 23, 2009
LATEST

Thanks! The dev guy suspects this will work.

Translate
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