Configure ArcGIS Popups (e.g. Diagrams)

In WebOffice 10.9 SP1 Custom Tools can be used to override WebOffice MapTips with the original Esri ArcGIS pop-ups, which are stored in a Feature Service. There the pop-ups can be prepared in different ways, for example by displaying numerical data in the form of diagrams.

 

icon_cross-reference

For more information on how to configure popups in ArcGIS Pro, see the ArcGIS chapter Configure pop-ups.

For detailed information about the popups configuration options, see the API-Documentation - Popup Template.

The chapter Integrate Diagrams describes further options for including diagrams in WebOffice.

icon_comment

You can only use ArcGIS Pop-Ups in combination with data from Feature Services. Map Services are not supported.

ArcGIS popups are well suited for combination with time sliders because the popups react dynamically to changes in the slider. For more detailed information on how to configure time sliders, see chapter Time awareness.

 

With WebOffice 10.9 SP1 an example of a Custom Tool is provided, in which popup diagrams are configured, with which statistical information can be visualized when clicking on features in WebOffice 10.9 SP1. The necessary configuration steps for this custom tool are described in the following section.

 

icon_cross-reference

The fields used for the diagram must be identifiable in WebOffice 10.9 SP1. For more information, please refer to chapter Define Selectable/Identifiable Layers

icon_comment

If an appropriate time slider profile is configured, the time slider in the client is kept in sync with the popup after it is activated. The popup reacts to changes in the time slider and this can be controlled via buttons in the popup (-1 Jahr / +1 Jahr in the figure below).

 

Popup Diagram in WebOffice core Client

Popup Diagram in WebOffice core Client

 

Configuration of the tool:

At first the file customPopup.htm has to be adapted to the desired data source. The file is stored in the following directory:

WebOffice10.9-DVD\SampleProject\Project\SampleProjectPub\customPopup_residents_by_CM.htm

 

Configuration of the file "customPopup.htm"

Configuration of the file "customPopup.htm"

 

Step 1: Configure service_id, fieldName and label:

In the Admin Part the service_id of the layer to be used for the diagram visualization must be configured. This is built up as follows:

id_mapservice + _ + sublayerId

 

id_mapservice can be taken from the WebOffice author standalone in debug mode (see next screenshot).

 

icon_cross-reference

See chapter Settings to activate the debug mode in the WebOffice author standalone.

 

The sublayerId corresponds to the ID of the desired layer in the ArcGIS Feature Service, which is easiest to find out via the REST interface (see screenshot after next).

 

Determining the value for "id_mapservice"

Determining the value for "id_mapservice"

 

Determining the value for "sublayerId"

Determining the value for "sublayerId"

 

Under the parameter fieldInfos in the file customPopup.htm the fields of the Feature Service have to be configured, which finally should represent the bars of the diagram. The fieldNames must be listed in the form shown in the screenshot above. Under label you can configure what should be displayed in the tooltip above a bar in the diagram.

 

Step 2: Configure Title, dynamic Fields and diagram type:

In step 1 of the following illustration, a parent title can be set in the parameter title.

In step 2 you can see an example of how dynamic field values can be included in the diagram. In this case, the year (Jahr), as well as the population increase (Einwohnerzuwachs (%)) of the selected object are displayed.

In step 3 you can see the configuration of a separate title for the diagram (title) with a subtitle (caption).

In step 4, the type of the displayed diagram can be specified with the type parameter. The different available diagram types are listed in the MediaContent chapter.

In step 5, the fields of the feature service that are to be included in the diagram must be listed again under the fields parameter.

 

Configuration of the diagram titles and considered data fields

Configuration of the diagram titles and considered data fields

 

 

Step 3: Tool-Configuration in WebOffice author standalone:

In the WebOffice author standalone a new custom tool must be configured in the next step.

For URL of external page the path to the customPopup.htm file, which was adapted in the previous step, must be specified.

In addition, a map view, which contains the data layer on which the diagram is based should be selected for Map View.

Web-Integration - custom tool

Web-Integration - custom tool

 

Afterwards, an Advanced Custom Tool with the Click point tool mode must be configured as a subnode.

Furthermore, the Layer parameter must refer to the layer configured in the customPopup.htm file. A unique field of the layer must be specified as key field.

Advanced Custom Tool

Advanced Custom Tool