Export Geodatabase Configuration Keywords (Data Management)


Exports the configuration keywords, parameters, and values from the specified enterprise geodatabase to an editable file. Change parameter values or add custom configuration keywords to the file and use the Import Geodatabase Configuration Keywords tool to import the changes to the geodatabase.


  • This tool only works with enterprise geodatabases.

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

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


ExportGeodatabaseConfigurationKeywords(input_database, out_file)
ParameterExplanationData Type

The connection file for the enterprise geodatabase from which you want to export configuration keywords, parameters, and values. You must connect as the geodatabase administrator.


The full path to and name of the ASCII text file to be created. The file will contain all the configuration keywords, parameters, and values from the enterprise geodatabase's DBTUNE (or SDE_DBTUNE) system table.


Derived Output

NameExplanationData Type

Code sample

ExportConfigKeywords example 1 (Python window)

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

This example connects through the database connection file enterprisegdb.sde and exports to a file named keyword.txt.

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

The following is a stand-alone script you can alter and run to export geodatabase configuration keywords to a text file.

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

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

# Process: Export configuration keywords to a text file


Licensing information

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

Related topics