Navigation:  How To > How to Configure... > Custom Tools >

Displaying charts

Previous pageReturn to chapter overviewNext page

Using multiple custom tools data can be displayed in WebOffice 10.7 SP1 as charts for better decision making and information gathering. The total number of features, the number of features in the visible area and the sums of attributes can be displayed in the charts.

 

ESRI Cedar Charts

Preparing the custom tool

Before the custom tool can be integrated, the respective layer must be specified in the script: Insert the REST-URL and the Layer-ID in ESRICedarChart.htm, which can be found in your Tomcat-Directory in the folder "\pub\custom_tools". If you do not know the REST-URL and the Layer-ID, you can look it up in the ArcGIS Server Manager (Services -> Capabilities). By clicking on the REST-URL you can find also the IDs of the layers.

 

 

REST-URL: You will find the respective REST-URL in the ArcGIS Server Manager. By clicking the REST-URL you will see a list of the Layer-IDs.

REST-URL: You will find the respective REST-URL in the ArcGIS Server Manager. By clicking the REST-URL you will see a list of the Layer-IDs.

 

 

REST-URL: In the brackets you will find the respective layer ID

REST-URL: In the brackets you will find the respective layer ID

 

 

Adjust the variable layers in the script EsriCedarChart.htm in your Tomcat-directory in the "pub\custom_tools"-folder. The parameter id is only necessary if the services are secured.

Change the parameters id and URL for the variable layers. It is important that the layer ID - in this case"/7" - is appended after the URL.

Change the parameters id and URL for the variable layers. It is important that the layer ID - in this case"/7" - is appended after the URL.

 

 

Integrating the EsriCedarChart.htm in WebOffice author standalone

The EsriCedarChart.htm is integrated in WebOffice author standalone as a static custom tool. Configure the node "Web-Integration: generic tool" in "Tools". Please see the configuration below. Enter the URL "\pub\custom_tools\EsriCedarChart.htm" at "URL of external page".  Once the tooltip name and the URL have been configured, a new sub-item (New -> Static Custom Tool) must be created by right-clicking on the respective custom tool.

 

Configuration in  WebOffice author standalone

Configuration in  WebOffice author standalone

 

 

Bar chart in WebOffice core

Bar chart in WebOffice core

 

 

KPI_Number_of_Features.htm

The Custom Tool "KPI_Number_of_Features.htm" uses queries from WebOffice 10.7 SP1 to display these queries in a pie chart. Open the custom tool "C:\Tomcat\webapps\<WebOffice Application>\pub\custom_tools}KPI_Number_Of_Features.htm" in any editor. Enter the extcallid of the respective query as value in the variable layers. You will find the extcallid in your WebOffice author standalone in the Menu "Edit Project/Queries". You can also change colors and other parameters in the htm-file.

 

Configuration of KPI_Number_of_Features.htm

Configuration of KPI_Number_of_Features.htm

 

 

This custom tool is also integrated as "Web-Integration: Generic tool". You will also find the configuration in the illustration below. Enter the URL "\pub\custom_tools\KPI_Number_of_Features.htm" at "URL of external page".

Once the tooltip name and the URL have been configured, a new sub-item (New -> Static Custom Tool) must be created by right-clicking on the respective custom tool.

 

Configuration in  WebOffice author standalone

Configuration in  WebOffice author standalone

 

 

Pie charts in WebOffice core

Pie charts in WebOffice core