Skip to main content
May 3, 2011
Question

WebHelp URL call from application

  • May 3, 2011
  • 1 reply
  • 1374 views

Hi,

Our application developers want to standardize all URL help calls from all applications to have this format, which uses ?helpcontent= instead of the # that I've seen in RH:

http://servername/helpfolder/default.html?helpcontent=subfolder/topicname.html

Is it possible to do this with RoboHelp or are we required to use http://servername/helpfolder/default.html#subfolder/topicname.html for the URL?

Thanks,

Jenny

    This topic has been closed for replies.

    1 reply

    Willam van Weelden
    Inspiring
    May 3, 2011

    Hi,

    RoboHelp does not support url parameters using a question mark. (Unless you want to start rewriting the CSH JavaScript in your output. )

    Does that mean you're stuck with it? Yes and No. Your output is stuck with it, but you can always create an extra startfile that supports the url paramters, builds the correct url and forwards to your project. Your developers should be able to create such a startfile in no time. (And it's them who want a different CSH call...)

    Greet,

    Willam

    May 9, 2011

    Thanks... I ran this solution by our developers. Unfortunately the developers who are asking for the change were unable to decipher enough of the RoboHelp javascript to set this up.  Would anyone like to volunteer?

    May 10, 2011

    Hi,

    Please see if modifying function window_OnLoad() in whcsh_home.htm in the WebHelp output helps you resolve the issue.

    Currently  function Window_OnLoad() parses the anchor portion of a URL, including the hash sign (#) and patches it to create the CSH url.

    Thanks,

    Aditi