[an error occurred while processing this directive]

RESOURCES
Demos
Downloads
CLIENT GRAPHS
Control for ActiveX
Applets for Java
METAGRAPHICS
MetaViewApplet
Return to SAS/GRAPH Web Graphs 
Pointing the Web Graphs to a Local Copy of Help

Beginning with Release 8.1, the SAS/GRAPH Web Graphs enable you to set the location where they look for their help files. You do so by using the HELPLOCATION parameter. Although the parameter can be edited in the HTML file that references the graph, it is usually more efficient to use the parameter in the SAS/GRAPH code that generates the graph. That way there is no need to edit the output HTML file unless the location of the help changes after the graph is generated. For the graph users to be able to access the help at the specified location, all of the requirements for changing the help location must be met.

To use SAS/GRAPH to specify the location of a Web-graph's help file, use the HELPLOCATION parameter on the ODS HTML statement. The value that is specified for the parameter must be either a valid URL that points to the location of the help files, or it can be the special value "Default" to use the default location:

URL
The URL is case-sensitive and can use the FILE protocol to point to a location on a local file system, or the HTTP protocol to point to an Internet server location.

"Default"
This keyword sets the location to the default Institute location on the SAS external Web site.

Note. For information on the other parameters that are available for the Web graphs, see the SAS System Help information for the ODS HTML statement's PARAMETERS= option.

The following fragment of an ODS HTML statement points the HELPLOCATION parameter to a local directory in the Windows operating environment. The file name mainmenu.htm is the entry point into the help:

ODS HTML
 PARAMETERS=("HELPLOCATION"="file:///c:\v8_1\graphcontrol\mainmenu.htm")

In a UNIX file system, you would use all forward slashes in the path:

ODS HTML
 PARAMETERS=("HELPLOCATION"="file:///u/v8_1/graphcontrol/mainmenu.htm")

You can also point the HELPLOCATION parameter to an Internet server, using the HTTP protocol for specifying a valid URL:

ODS HTML PARAMETERS=
 ("HELPLOCATION"="http://www.myCo.com/v8_1/graphcontrol/mainmenu.htm")