after F1 Use only anchor instead of contextID

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Post Reply
nicolasz
Posts: 2
Joined: Thu Jun 03, 2021 3:49 pm

after F1 Use only anchor instead of contextID

Unread post by nicolasz »

Dear all,

I don t know if this topic has already been treated.

I would like to use only the url with anchor after pressing F1.

Is there any option in H&M7 to specify that the url will only be with anchor , and not with contextId ?

Best regards,
Nicolas
Last edited by nicolasz on Wed Nov 24, 2021 3:47 pm, edited 1 time in total.
User avatar
Tim Green
Site Admin
Posts: 23156
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: after F1 Use only anchor instead of contextID

Unread post by Tim Green »

Hi Nicolas,

If you are programming F1 help then you are programming it, you are making the calls to the help. So you need to program your calls to use the URL and anchor instead of the context ID. Are you referencing CHM or WebHelp in this case? Links to tutorials for interfacing with CHM can be found here:

https://www.helpandmanual.com/support_tutorials.html

Calls to WebHelp are just browser URLs, you program those in the same way as opening any regular web page. Always call to

index.html?topicname.htm#anchorid

for standard skins and

topicname.html?anchor=anchorid

for V3 and V4 Premium Pack skins. Remember that anchors are always all lower case. :)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
nicolasz
Posts: 2
Joined: Thu Jun 03, 2021 3:49 pm

Re: after F1 Use only anchor instead of contextID

Unread post by nicolasz »

Thank you for your answer, it works very well. We use webhelp for our software.

Yesterday I tried this url already, but anchors were not working. It was probably cache option in Chrome.
Post Reply