Prerequisites

Install Node.js before following this how-to guide. Custom Data Feeds (CDF) currently supports versions of Node.js between v16.19.1 and v18.17.0.

Node.js version 18.17.0 is highly recommended because this version ships with ArcGIS Server 11.2. If you need to have other version of Node.js installed on your development machine, consider using NVM (Linux) or NVM for Windows (Windows) to switch your version while developing.

  1. Verify successful Node.js installation and the version. In a terminal, run the command: node -v

  2. Install the CDF CLI tool. To do this, refer to step 3 in Installing and configuring.

  3. Verify successful installation of CDF CLI tool. In a terminal, run the command: cdf -h

If the CDF tool is configured, then the following output will appear:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Usage : cdf <command> [options]

Commands:
  cdf createapp <name>       creates a new custom data app
  cdf createprovider <name>  creates a new custom data provider
  cdf listproviders          lists a custom data providers registered with custom data app
  cdf export <name>          exports specified custom data provider into cdpk
  cdf deleteprovider <name>  deletes specified custom data provider

Options:
  -h, --help     Show help                                                                 [boolean]
  -v, --version  Show version number                                                       [boolean]

Esri - copyright 2023
;

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.