|
|
| Sun ONE Portal Server 6.0 Desktop Customization Guide |
Chapter 8 Customizing the Desktop End-User Online Help
This chapter provides information on customizing the Sun ONE Portal Server Desktop online help.
This chapter contains the following sections:
Overview of the Desktop End-User Online Help Overview of the Desktop End-User Online Help
The Desktop end-user online help is a collection of HTML files that is referenced in the display profile. Each provider, including the various container providers, has a display profile entry for a corresponding help file. In the display profile, each provider definition has the default value for the help file. If a channel that uses the provider has a different help file, the helpURL property can be defined in the channel definition also, overriding the provider's value.
The display profile entries for the online help are defined in the provider properties. The entries define the string name, helpURL, and its value.
For example, Code Example 8-1 shows the display profile definition for UserInfoProvider and the helpURL property for the user information online help file.
The value of the helpURL property can be either a relative path or an absolute path. The location in Code Example 8-1 is relative to the Desktop static content root.
The static content root is the install directory of static content. By default the static content root is:
/opt/SUNWps/web-apps/https-psserver/portal
The relative path will be generated as:
static_content_root/doc_root/locale/helpURL_value
The doc root is defined in the display profile also. For example, if the doc root is docs, and the user's locale is en_US, with the helpURL value, the final value for the help location will be:
/opt/SUNWps/web-apps/https-psserver/portal/docs/en_US/desktop/userinfo.htm
Code Example 8-2 shows an example of an absolute URL that defines a help file location.
Code Example 8-2    Format For Using an Absolute URL to Define the Location of an Online Help File
<String name="helpURL" value="http://sesta.com/docs/desktop/userinfo.htm"/>
Location of the Desktop End-User Online Help HTML files
The default location of the Desktop end-user online help files for the sample Desktop is:
/opt/SUNWps/web-apps/https-server/portal/docs/locale/desktop
Table 8-1 provides a list of help files included with the sample portal. In the table, the first column lists the names of the help files. The second column contains a brief description of the help file.
Table 8-1    Sample Desktop Help Files
File Name
Description
Section help file (describes frames-based Desktop sections).
Provides an overview of using the Desktop (for frames-based Desktop).
Modifying the Desktop End-User Online Help HTML files
You can customize the end-user online help by editing the existing HTML online help files or by creating new HTML files.
To Edit An Existing Help File
You can edit an existing help file to customize the content to meet specific requirements of your organization. For example, you can remove or change the SunONE.jpg image or meta text that is currently displayed on the sample help files, or replace the help file completely with a file of the same name.
This method of modifying the online help files is useful if you use the sample providers that are shipped with the Sun ONE Portal Server product.
For example, if you use the UserInfoProvider that ships with the Sun ONE Portal Server product, the display profile for that provider already defines the helpURL value as desktop/userinfo.htm. By editing the help file userinfo.htm, no changes to the display profile are necessary.
See "Location of the Desktop End-User Online Help HTML files" for the online help file names and descriptions, and where they are installed on your system. To Create a New Help File
You can create a new help file by creating a new HTML file. This method of customizing the online help is useful if, for example, you add a new provider to the Desktop. When you create a new help file, you must modify the display profile to contain the new helpURL value. You can either manually edit the display profile or use the iPlanet Directory Server Access Management Edition admin console.
To create a new online help file and to define the helpURL value manually, do the following:
Create an HTML file for the provider you want to document.
Place your file in the appropriate directory.
You can place your custom help files under the web server document root, in the directory specifed as root by the display profile:
/opt/SUNWam/public_html/docs/locale/desktop
Or, you can deploy them in a custom web application archive. See the web server documentation for information on how to deploy a web application archive.
Define the helpURL value for that file in the display profile.
To define the helpURL value for a new online help file, use the format described in the section "Overview of the Desktop End-User Online Help."
Use the dpadmin command to load the display profile into LDAP. To create a new online help file and to define the helpURL value in the iPlanet Directory Server Access Management Edition admin console, do the following:
Create an HTML file for the provider you want to document.
Place your file in the appropriate directory.
You can place your custom help files under the web server document root, in the directory specifed as root by the display profile:
/opt/SUNWam/public_html/docs/locale/desktop
Or, you can deploy them in a custom web application archive. See the web server documentation for information on how to deploy a web application archive.
Login to the iPlanet Directory Server Access Management Edition admin console as the administrator.
Choose the arrow next to Desktop.
The display profile properties are shown.
In the channels area, choose Edit for the channel you want to edit.
Previous Contents Index Next
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Last Updated August 29, 2002