Skip to main content
Inspiring
December 10, 2024
Answered

Trouble with Context Sensitive Help

  • December 10, 2024
  • 1 reply
  • 563 views

How can I open a RoboHelp URL like the following from a .NET WinForms app using HelpProvider?


We've tried setting the following on the HelpProvider class

  • helpProvider1.HelpNamespace = "https://example.com/";
  • helpProvider1.SetHelpKeyword(this, "Invoicing/Point-of-Sale/Basic_POS.htm");
  • helpProvider1.SetHelpNavigator(this, HelpNavigator.Topic);


But when F1 is pressed, HelpProvider concatenates HelpNamespace and HelpKeyword with the # character between the values which does not work since it's not a valid anchor:

This topic has been closed for replies.
Correct answer Zachary24897071nluu

Really appreciate the help. I have spoken with my devs and they are going to work on a solution, I'll update the thread with what we did to make it work when we do!


My devs had me upload a custom htm file to re-route from the index and are now able to call context-sensitive help.

 

Thanks so much!

1 reply

Jeff_Coatsworth
Community Expert
Community Expert
December 10, 2024

What version of RH? What form of output? Have you checked Peter's site - https://www.grainge.org/RoboHelp_Tour/rh2022/outputs/calling_csh_help.htm ?

Have your devs looked at the \CSH\ folder in your install of RH?

Inspiring
December 11, 2024

Thanks for your reply, apologies for my late response, was meeting with my developers.

 

I am running RoboHelp 2020, and the output is Frameless.

 

Our developers did not find anything useful in the Javascript inside the CSH folder.

 

We have checked Peter's site and followed the instructions but they are not working well with our app.

 

What we are looking for is:

"Unless someone on the forum can explain what we have to do to make this:
https://example.com/index.htm#t=Invoicing/Point-of-Sale/Basic_POS.htm

Redirect to this:
https://example.com/Invoicing/Point-of-Sale/Basic_POS.htm

We're going to have to do something custom."

Jeff_Coatsworth
Community Expert
Community Expert
December 11, 2024

Do you have MapIDs defined for the topics? If so, can you manually hit the topic by using the method he mentions - path/index.htm?rhmapno=123