Several properties can be configured in the Event Editor web application. Open the config.json file in the EventEditor web folder on the web server to modify and deploy.
Configuring the Event Editor web application is one of the steps (step 8 of 9) of the deployment process. Ensure that all steps before this are completed before continuing with configuring the Event Editor web application.
Event Editor configuration properties
Properties | Description |
---|---|
webmap | Specifies the unique ID or URL to an authored web map hosted on ArcGIS Online or the web server. After authoring a web map and sharing it publicly, the contents can be accessed directly by a URL. For example, if the web map is hosted on ArcGIS Online, log in with your global account and browse to My Content. Click the title of the web map you are interested in to get more details. At this point, the URL looks like the following format: http://www.arcgis.com/home/item.html?id=<webmapID>. For example: http://www.arcgis.com/home/item.html?id=1dcf369089804329946e3b3abf385251. Copy only the ID portion of the URL as the web map ID value for the configuration. If the web map is hosted on a server, the URL looks similar to the following: http://<HostName>/EventEditor/rwc.json, where rwc.json is the text file that contains the web map definition. |
geometryServiceUrl | Specifies the URL to a geometry service. By default, the configuration file contains a link to the geometry service hosted on ArcGIS Online, but it can be configured to refer to any geometry service hosted on any other ArcGIS Server instance. |
banner
| Specifies the banner label text, and label color and banner color. Below is the format for the banner label.
The color is specified as #RRGGBB in HTML hexadecimal color codes. |
proxyUrl | Specifies the relative URL to the proxy page on the web server. |
qcChecks
| Specifies a setting for the Check Events widget. recordsPerPage—Specifies the number of records per page within the results table for the Check Events widget. |
versioning
| レガシー:The visible configuration parameter, to show the Reconcile & Post widget is deprecated as of the Roads and Highways 10.4 release. Please update your configuration file to use the allowReconcileAndPost configuration parameter. For backward compatibility, the visible configuration parameter is supported until the next release.
|
dataReviewer
| Specifies the setting for Data Reviewer capability in the Event Editor. For more information, see Integrating Data Reviewer for Server. These are optional configuration settings if Data Reviewer integration is required.
|
Advanced properties | Description |
---|---|
portalUrl | The portal URL configured to use with the Event Editor. This could be an ArcGIS Online or Portal for ArcGIS URL. This is used in portalGroup of the basemaps configuration
|
basemaps
| Apart from the default custom basemap configured in webmap, you can add multiple custom basemaps to the Event Editor using the following methods:
注意:ArcGIS tiled map services and ArcGIS dynamic map services are supported as a basemap. If an ArcGIS Online or Portal for ArcGIS group is configured, then, the default ArcGIS Online basemaps group will not be used. These are optional configuration settings.
|
bingMapskey | Specifies the bing maps key to be used by your bing base maps. If you have used bing map as a default basemap in the webmap or configured it in the basemaps widget, then you need to provide this key. For more information, see Adding bing maps as basemaps.
|
security
| Esri Roads and Highways for Server supports a secure login via Portal for ArcGIS or ArcGIS Online on the published map service with linear referencing capability. This security is provided via OAuth 2.0. These are the optional configuration settings.
|
addData
| Specifies the URL for the Add Data tools. See more in Adding DGN and DWG data: Deployment guide. These are optional configuration settings if the Add Data tools are not intended to be used.
|
uploader
| Specifies the limit for the file upload operation. It is used by the Add Data tools. These are optional configuration settings if the Add Data tools are used.
|
checkEventStartDate | Specifies whether the Start Date in the Add Point Events and Add Linear Events widgets can be set to a date prior to the start date for the selected route. |
excludeFields | Specifies a list of fields to be excluded from Identify, Measure Identify, Select Events by Attributes, and Advanced Route Find search results. |
search
| Specifies the setting for find/search capability in the Event Editor.
|
selectEventsByAttribute
| Specifies the setting for the Select by Attributes widget. excludeFields—Specifies the list of fields to exclude from the Selecting events by attribute widget. Administrators can choose to exclude certain fields that are not intended to be edited. maxUniqueRecordCount—Specifies the maximum number of unique values for the Get Unique Values tool. |
eventAttributes
| Specifies the settings anywhere the Event Editor allows users to edit the cell, such as with the Event Attributes, Attribute Set, Split Events, and Merge Events widgets.
|
selectionSymbols | Specifies the style, color, width, size, and outline of all feature selections made on the map.
Types of line symbols include solid, dash, dot, dashdot, and dashdotdot. Types of point symbols include circle, square, x, cross, and diamond. The color is specified as #RRGGBB in HTML hexadecimal color codes. |
snapSymbol | Specifies the style, color, width, size, and outline of the point symbol during snapping. Types of point symbols include circle, square, x, cross, and diamond. Types of line symbols include solid, dash, dot, dashdot, and dashdotdot. The color is specified as #RRGGBB in HTML hexadecimal color codes. |
snapMaxLayers | Specifies the maximum number of layers that can be enabled for snapping. A value of 0 means only one layer can be enabled.
|
snapMaxScale | Specifies the maximum scale that snapping is supported. A value of 0 means snapping is supported at all scales.
|
attributeSets
| Custom attribute sets can be added to the Event Editor by adding attribute set files to the attributeSets folder located in the Event Editor folder. Additionally, you can modify the config.json file to use a custom folder created in the Event Editor folder.
folder—Specifies the name of the attribute sets folder. |
attributeSetsEditing
| Specifies the default behavior of attribute set while configuring it and using it.
|
addPointEvents
| Specifies whether you want to show an event ID field in the Add Point Event widget.
|
conflictPrevention
| Specifies whether you want to show the transfer lock buttons in the Locks Table widget. Allow Lock Transfer in ALRS properties needs to be enabled to transfer locks. For more information, see Enabling conflict prevention in the LRS.
hideTransferButtons—Valid values are true and false. |
addLinearEvents
| Specifies whether you want the Retire overlaps, Merge coincident events, and Prevent measures not on route check boxes checked or unchecked by default in the Add Linear Event widget.
|
redline
| You can have a separate map service with feature access enabled for the redline. This configuration is optional. You can configure your redline layer in two ways.
|
wkidList
| Configure a well-known ID (WKID) or well-known text (WKT) to specify the spatial reference of point event coordinates when adding point events by coordinate location or adding linear events by coordinate location. More than one WKID or WKT can be configured. This configuration is optional.
|