Using a custom help location
You can use any help system hosted by a web server to provide online help for an Information Console system. To make an external help system available to the Information Console application, the wwhelp.html file must redirect help requests to that external system. Any specific help target can link to any specific page.
To redirect help requests from Information Console to an alternate URL, edit or replace the wwhelp.html file in <context root>\help. You can further specify different targets using the context and topic parameters in the URLs emitted by Information Console in help requests.
Customizing the help location with wwhelp.htm
Use the following procedure to create a wwhelp.htm file that redirects Information Console context sensitive help requests to another URL.
3 Within the script block, write the javascript method GetParameter to capture URL parameters, as shown in the following code:The LaunchHelp() method gets the context and topic information from the URL with two calls to GetParameter. The baseURL is set to the myhelpserver application’s online help. The flow control switch statements activate specific URLs depending upon the context. Because the myhelpserver application uses the same context and topic variables as standard Information Console help, they are used directly in constructing the URL when activating the self.location methods.
7 Test your results by opening Information Console and selecting a help link. The resulting page is from the custom application. For example, the help link on the login page pictured in Figure 11-4 would link to http://myhelpserver
/iportal/help/wwhelp.htm?single=true&context=UserConsole&topic=
Login_MyDoc_Enterprise.
(c) Copyright Actuate Corporation 2011 |
![]() |