Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Konect command line interface (CLI) is a unified tool that provides a consistent interface for importing and exporting data and configuration from the Konect cloud.

The Konect CLI requires a valid API key with access to the required environments to run. Konect API keys can be created in the Konect portal by an account administrator (when the organisation has a valid license).

Installation

The Konect CLI is a self contained 64 bit .NET application that is currently only supported by 64 bit Windows 10 and 11 or Windows Server 2016 and above. The Konect CLI can be downloaded from here:

...

Executing just the base Konect CLI program and the command will display usage text for the given command.

$ konect <command>

Konect API keys

The Konect CLI requires a valid API key with access to the required environments to run. Konect API keys can be created in the Konect portal by an account administrator (when the organisation has a valid license).

Example usage

Expand

List the usage text for a KPK import

$ konect kpkimport

Export dataset Road Inspections include photos and both unique list values and display list values as a CSV file.

$ konect csvexport -k XXXX -e "Example Env" -d "Road Inspections" --photos --listvalue both -f c:\exports\RoadInspection.csv

Export the configuration for datasets Road Maintenance, Road Inspections and Roads to a KPK file.

$ konect kpkexport -k XXXX -e "Example Env" -d "Road Maintenance" "Road Inspections" Roads -f c:\exports\datasets.KPK