Antoine_Sauteron_1266

Calling the online context help with F1

Discussion created by Antoine_Sauteron_1266 on Jul 8, 2016
Latest reply on Dec 12, 2017 by Michael_Lowry
Here are the steps to set up your User Interface (fat client) so it calls the online documentation when pressing F1.

1 - Create a help.htm file with the content below:
 <!DOCTYPE HTML>
  <html lang="en-US">
      <head>
          <meta charset="UTF-8">
          <script type="text/javascript">
            var href = window.location.href;
            var deeplink = href.split("/");
            window.location = "http://docs.automic.com/documentation/AE/11.2/english/AE_WEBHELP/" + deeplink[deeplink.length-1];
          </script>
           <title>Page Redirection</title>
       </head>
       <body>
           If you are not redirected automatically, follow this <a href='http://docs.automic.com/documentation/AE/11.2/english/AE_WEBHELP/help.htm'>link to example</a>
       </body>
   </html>

2 - Put it in its target folder
The path has to end with "\guides\webhelp\english" - e.g. C:\Automic\Documentation\V11\guides\webhelp\english

re2jua6dnk19.jpg

3 - Adjust uc4config.xml 
Set docu type="wh" and set the path without "\guides\webhelp\english" - e.g.
<docu type="wh">C:\Automic\Documentation\V11</docu>


That's it ! You will need to restart the GUI for the change to take effect.

Outcomes