Batch Validation Manager tags
The Batch Validation Manager settings.js file is a configuration file that allows users to configure the Batch Validation Manager application and host it in a local environment. It contains several settings that provide information about the location of the map service, settings for the server, the production workspace, and an optional analysis area. The following sections explain each setting in greater detail.
restReviewerMapServer
This is the URL of the Reviewer map service. The Reviewer map service is the default service shipped with Data Reviewer for Server. If the service has been secured, the user name will be sent as a parameter while scheduling jobs. The URL for the map service used for logging is http://server-name:6080/arcgis/rest/services/reviewer/MapServer.
drsSoeUrl
This is the URL to a DataReviewerServer server object extension (SOE): http://server-name:6080/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer.
clientTimeUTC
This setting applies the time when the batch job will be scheduled to run. The Data Reviewer Server accepts Universal Time Coordinated (UTC) time for scheduling the jobs. If this setting is false, the application converts local time to UTC time and schedules the job to run when the UTC time equals the local time selected by the user. If this setting is true, the time selected by the user is assumed to be the UTC time and is passed to the Data Reviewer Server.
jobExecutionListRefreshInterval
This is the amount of time between refreshes in the job executions, in milliseconds, when the Auto Refresh check box is checked. The default is 15,000, or 15 seconds.
When the jobs are scheduled to run at intervals, each job run is called a job execution. For example, if a job is set to run every day at 5:00 PM for one week, there will be seven executions. Similarly, there might be other jobs scheduled to run. While the user is viewing the application, there might be more executions happening on the server. The jobExecutionListRefreshInterval parameter helps set an interval in which the job execution list is refreshed. The list is only refreshed if the Auto Refresh check box is checked. The list on the Executions tab can also be manually refreshed by clicking Refresh.
alwaysUseProxy
This setting indicates whether a proxy must be used for all requests. By default, this is set to false.
proxyURL
This is the proxy URL used to upload batch jobs when batch validation is scheduled. The proxy must reside on the same domain as the application. See Using the proxy for more information.
mapServices
These are the map services used to define an analysis area when the Spatial Selection option is selected when scheduling the batch job to run. This allows you to run the batch job on a specific spatial extent instead of the entire database. By default, this parameter is set to the Esri map control. When an area is selected, the extent is sent as an analysis area to the SOE.
There are four possible parameters that must be set for each map service; the last two are optional.
- serviceType—Indicates the type of map service: Tiled or Dynamic. This value is required.
- serviceUrl—The URL for the map service to be displayed in the map control. This value is required.
- initialExtent—The initial extent that is displayed when the Spatial Selection option is selected. This value consists of two coordinates that represent the lower left and upper right corners of the extent. This value is optional.
- spatialReference—The numeric code for the spatial reference of the map, if the data needs to be projected. This value is optional.Note:
If the spatial reference of the map service and Reviewer workspace are different, results will be written to the Reviewer table, but there will not be any geometries associated with them.
When multiple map services are listed, the first one in the list is considered the basemap.
dataWorkspaces
This is the database that will be validated using the checks in the batch job. These workspaces are listed in the Data Workspace drop-down list on the Schedule Batch Validation window. There are four possible parameters for each production workspace, but only the name and path are required.
- name—An identifier for the workspace, which appears in the Data Workspace drop-down list. This value is required.
- path—The path to the database or a connection file. This value is required.
- spatialReference—The well-known ID (WKID) for the spatial reference to which the analysis area needs to be projected. This is only required if the analysis area needs to be projected. This value is optional.
- transformation—The WKID for the datum to be applied to the projected geometries.
geometryServiceURL
This is the URL for the geometry service used to project the analysis area to match the spatial reference of a data workspace. There can be situations when the basemap is not the same spatial reference as the data workspace. To overcome this problem, the Batch Validation Manager application provides a way to project the analysis area on the fly to match the spatial reference of the data workspace. The geometryServiceURL parameter is the URL of the geometry service to be used to project the analysis area, if one is being used.
publishJobUsername
This is the user name assigned to scheduled jobs. By default, it is Publisher. This parameter is ignored if a secure service is used. In case of a secure service, the user name used to access the service is sent as a scheduledby parameter to the SOE. This user name appears when you click the drop-down arrow on the Schedules tab.