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.
-
Verify successful Node.js installation and the version. In a terminal, run the command:
node -v
-
Install the CDF CLI tool. To do this, refer to step 3 in Installing and configuring.
-
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:
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