Switching tool state

This custom tool allows the end user to switch the state of tools such as MapTip in the WebOffice 10.9 SP1 project. To do this, configure the custom tool tool_state_switch.htm, which is located under the directory C:\Tomcat\webapps\<WebOffice application>\pub\custom_tools as follows:

 

(1) Customization of the file tool_state_switch.htm

First of all, the file tool_state_switch.htm, which you can find under C:\Tomcat\webapps\<WebOffice application>\pub\custom_tools, has to be customized by opening it with a text editor and entering the tool ID of the tool to be switched by the Custom Tool in line 10 under var toolId. In this case, the file is configured for the Maptip tool.

 

Customization of the file tool_state_switch.htm 

Customization of the file tool_state_switch.htm 

 

 

(2) Web integration - custom tool

Configure a custom tool of the group Web integration with the following parameters:

URL of external page: pub\custom_tools\tool_state_switch.htm

Tool icon (for Maptip): pub/images/customtool/ct_maptip.png

 

Configuration of a custom tool

Configuration of a custom tool

(3) Static Custom Tool

Configure for the Custom Tool a Static Custom Tool.

Then configure for the Application with static Hyperlink the Display mode iFrame and choose Hidden as window type.

 

Configuraton of the display mode iFrame

Configuraton of the display mode iFrame

 

icon_cross-reference

For more details on configuring a custom tool, see the chapter Web Integration - Custom Tool .