Getting started with the ArcGIS Data Reviewer API for JavaScript
Version 3.13
Requirements
The following prerequisites are required to use the ArcGIS Data Reviewer API for JavaScript:
- ArcGIS 10.3 Data Reviewer for Server, or later, and ArcGIS 10.3 for Server, or later. Both are required to create web apps using this API.
- A proxy page to support POST requests and ArcGIS token-based authentication.
- An understanding of JavaScript programming and Dojo 1.10.4. Dojo 1.10.4 is required to create and run web apps built with the ArcGIS Data Reviewer API for JavaScript.
- A code editor such as Aptana or Notepad++.
- A web server to serve your apps.
The ArcGIS Data Reviewer API for JavaScript has the same system requirements as the ArcGIS API for JavaScript.
Getting started with the ArcGIS Data Reviewer API for JavaScript
The following steps present an overview of requirements to create a web app that uses the ArcGIS Data Reviewer API for JavaScript.
Steps:
- Install and configure ArcGIS Data Reviewer for Server.
- Download the API
- Browse to the ArcGIS Data Reviewer API for JavaScript downloads page.
- Log in with your Esri global account.
- Unzip the downloaded file.
The uncompressed contents include the API (drs.js) and set up instructions in an install.html file.
- Follow the set up instructions in the install.html file.
- Edit one of the sample .html files.
- Reference the API by changing the drs.js script src tag.
- Change any URLs to point to your ArcGIS Data Reviewer for Server.
- Change esri.config.defaults.io.proxyUrl to point to your proxy page.
8/12/2015