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 v20.11.1.

Node.js version 20.11.1 is highly recommended because this version ships with ArcGIS Server 11.3. 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
15
16
17
18
19
20
21
22
Usage : cdf <command> [options]

Commands:
  cdf createapp <name>                              creates a new custom data app
  cdf createprovider <name>                         creates a new custom data provider within custom
                                                    data app
  cdf listproviders                                 lists custom data providers registered
                                                    with custom data app
  cdf export <name>                                 exports specified custom data provider into
                                                    package file with .cdpk extension
  cdf deleteprovider <name>                         deletes specified custom data provider from
                                                    custom data app
  cdf register <name> <server-admin-url> <token>    registers a provider with ArcGIS server
  cdf unregister <name> <server-admin-url> <token>  unregisters a provider with ArcGIS server and
                                                    optionally deletes associated services


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

Esri - copyright 2024

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