Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Configuration Guide


5.18.4 Creating the definition files

This subsection describes the information to be defined in the definition file for the Tool Launcher window and the definition file for executing applications, explains their storage locations, and provides example definitions.

Organization of this subsection

(1) Creating a definition file for the Tool Launcher window

In the definition file for the Tool Launcher window, define such information as the window to be opened from the menu entry, the higher node in the menu tree, and the name to be displayed as the menu entry.

(a) Information to be defined

To define the window to be opened from the menu entry, specify the application execution definition identifier. The application execution definition identifier is used by JP1/IM - View to identify the window defined in the definition file for the Tool Launcher window. Therefore, in the definition file for executing applications, you must specify the application execution definition identifier that is specified in the definition file for the Tool Launcher window. For the specified application execution definition identifier, the path is resolved by the definition file for executing applications, so that the window can be opened from the menu entry. For details about the definition file for the Tool Launcher window, see Definition file for the Tool Launcher window in Chapter 2. Definition Files in the manual JP1/Integrated Management 2 - Manager Command, Definition File and API Reference. For details about the definition file for executing applications, see Definition file for executing applications in Chapter 2. Definition Files in the manual JP1/Integrated Management 2 - Manager Command, Definition File and API Reference.

JP1/IM provides the jcofuncfcheck (Windows only) command for checking the definition file for the Tool Launcher window. For details about this command, see jcofuncfcheck (Windows only) in Chapter 1. Commands in the manual JP1/Integrated Management 2 - Manager Command, Definition File and API Reference.

(b) Storage location

Store this file in the viewer's directory shown below. The definition takes effect when JP1/IM - View is restarted.

View-path\conf\function\en\

(c) Example of definition

This subsection presents the following example:

Application

COMPANY's product called SAMPLE

Folder name and ID

SAMPLE_management, ID = "company_sample_management"

Menu name and ID

SAMPLE_management_window (application), ID = "company_sample_naitive"

SAMPLE_management_window (WWW), ID = "company_sample_web"

Icon file

sample_icon.gif

Executable file

sample.exe

URL

http://host1/company/sample_url.html

This example uses the following file name:

company_sample_tree.conf

The following shows the example definition in the definition file for the Tool Launcher window.

Figure 5‒2: Example definition in the definition file for the Tool Launcher window

[Figure]

Based on this definition, the menu entries SAMPLE_management_window (application)and SAMPLE_management_window (WWW) are displayed in the order defined under the folder named SAMPLE_management on the tree in the Tool Launcher window.

(2) Creating the definition file for executing applications

The definition file for executing applications defines an association between an application execution definition identifier specified in the definition file for the Tool Launcher window and the path.

(a) Information to be defined

For details about the definition file for executing applications, see Definition file for executing applications in Chapter 2. Definition Files in the manual JP1/Integrated Management 2 - Manager Command, Definition File and API Reference.

JP1/IM provides the jcoappexecfcheck (Windows only) command for checking the definition file for executing applications. For details about this command, see jcoappexecfcheck (Windows only) in Chapter 1. Commands in the manual JP1/Integrated Management 2 - Manager Command, Definition File and API Reference.

(b) Storage location

Store this file in the viewer's directory shown below. The definition takes effect when JP1/IM - View is restarted.

View-path\conf\appexecute\en\

(c) Example of definition

This subsection uses the same example as for opening monitor windows. This example uses the following file name:

company_sample_app.conf

The following shows an example definition in the definition file for executing applications.

Figure 5‒3: Example of definition in the definition file for executing applications

[Figure]