Migrating from ArcGIS Data Reviewer API for JavaScript 3.13 to 3.14

A summarization of breaking changes when upgrading applications using ArcGIS Data Reviewer API for JavaScipt 3.13 to 3.14 is detailed in the table below.

General

At version 3.14 some API class names and package names have changed and one class has been deprecated.

The changes include:

Breaking changes

At version 3.14, the following breaking changes will occur until your application is modified:

3.13 and earlier

3.14

drs/BatchValidationJobDetails

esri/tasks/datareviewer/BatchValidationJob

drs/BatchValidationJobExecutionDetails

esri/tasks/datareviewer/BatchValidationJobInfo

drs/SessionProperties

esri/tasks/datareviewer/SessionOptions

drs/Lifecycle

esri/tasks/datareviewer/ReviewerLifecycle

The callback from getJobExecutionDetails method in BatchValidationTask contains jobExecutionDetails which is an instance of BatchValidationJobExecutionDetails

The callback from getJobExecutionDetails method in BatchValidationTask contains jobInfo which is an instance of BatchValidationJobInfo

Deprecated

Only one method remains from the previous drs/ReviewerMapServerHelper class at 3.14 and is listed in the relevant tasks below:

3.13 and earlier

3.14

drs/ReviewerMapServerHelper

The method getReviewerMapServerUrl (from ReviewerMapServerHelper class) is now available in all of these tasks:

  • esri/tasks/datareviewer/BatchValidationTask
  • esri/tasks/datareviewer/DashboardTask
  • esri/tasks/datareviewer/ReviewerResultsTask

8/12/2015