HP StorageWorks Command View XP Advanced Edition Device Manager Server Installation and Configuration Guide (December 2005)
Command View XP AE Suite Common Component 73
4-5 Setup for Starting a Web Application from Web Client
4-5-1 Using hcmdslink to Register an Application
When you select Tools in the Web Client menu bar, Device Manager displays a window that allows
you to launch other Command View XP AE products. By registering the Web applications that you
often use or the information that you want to reference (such as a device installation chart) to this
window, you can easily call a desired application from Web Client. To register a desired application or
cancel the registration, you use the hcmdslink command. This subsection describes how to use the
hcmdslink command.
Format in Windows
®
:
• hcmdslink {/add | /delete } /file user-defined-application-file[/nolog]
/user user-identifier /pass password
Function:
• The hcmdlink command registers a Web application to allow you to start the desired application
from Web Client, or cancels the registration.
• In the user-defined application file, you specify a desired application name, URL, and name to
be displayed. Then, use the hcmdslink command to register that information. The link to the
registered application will be displayed in the window that appears when you select Tools in
Web Client.
NOTE: Once you register a link for starting an application, do not delete the user-defined application file
used in the hcmdslink command. If you do, you cannot delete the link for the registered application
Options:
• add: Registers an application.
• delete: Deletes an application.
• file: Specifies the name of the user-defined application file.
• user: Specifies a user ID used to register or delete the user-defined application link. Specify a
user ID of a System Administrator for Device Manager.
• pass: Specifies the password for the user ID used to register or delete the user-defined
application link.
• nolog: Suppresses outputting messages to the command line. However, even when this option
is specified, messages for option errors are displayed.
User-defined application file (the following shows coding examples in the user-defined application
file):
CAUTION: To code the user-defined application file, use ASCII code only. Also note that you cannot use a
control code other than the CR and LF control code.
• @TOOL-LINK
• @NAME SampleApp
• @URL http://SampleApp/index.html
• @DISPLAYNAME SampleApplication
• @DISPLAYORDER 1
• @ICONURL http://SampleApp/graphic/icon.gif
• @TOOL-END
The items to be specified in the user-defined application file are as follows:
• @TOOL-LINK: The start key. The information between the start key and the end key is the
setting information. This item is required.