Import Geodatabase Configuration Keywords (Data Management)


Defines data storage parameters for an enterprise geodatabase by importing a file containing configuration keywords, parameters, and values.


  • This tool only works with enterprise geodatabases.

  • Typically, you will run the Export Geodatabase Configuration Keywords tool first to obtain a file containing the geodatabase's existing configuration keyword and parameter values. Alter this file and import the changes using the Import Geodatabase Configuration Keywords tool.

  • Only the geodatabase administrator can run the Import Geodatabase Configuration Keywords tool.

  • This tool is not supported for geodatabases in SAP HANA.


ImportGeodatabaseConfigurationKeywords(input_database, in_file)
ParameterExplanationData Type

The connection file for the enterprise geodatabase to which you want to import the configuration file. You must connect as the geodatabase administrator.


The path to and name of the ASCII text file containing configuration keywords, parameters, and values to import.


Derived Output

NameExplanationData Type

Code sample

ImportConfigKeywords example 1 (Python window)

You can alter and run the following from a Python window to import a text file containing configuration keyword settings.

This example connects through the database connection file enterprisegdb.sde to import the file keyword.txt.

import arcpy
ent_gdb = "C:\\gdbs\\enterprisegdb.sde"
input_file = "C:\\temp\\keyword.txt"
ImportConfigKeywords example 2 (stand-alone script)

The following is a stand-alone script you can alter and run to import an altered configuration keyword text file.

# Set the necessary product code
import arceditor
# Import arcpy module
import arcpy

# Local variables:
ent_gdb = "C:\\gdbs\\enterprisegdb.sde"
input_file = "C:\\temp\\keyword.txt"

# Process: Import the text file containing configuration keywords


Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics