Delete Field Group (Data Management)

Summary

Deletes a field group from a table or feature class.

Usage

  • If your dataset is stored in an enterprise geodatabase, you must be connected as the data owner to run this tool.

  • Caution:

    Deleting a field group also deletes the associated contingent attribute values.

    To modify field group properties without deleting the associated contingent attribute values, use the Alter Field Group tool.

Syntax

DeleteFieldGroup(target_table, name)
ParameterExplanationData Type
target_table

The input geodatabase feature class or table that will have the field group deleted.

Table View
name

The name of the field group that will be deleted.

String

Derived Output

NameExplanationData Type
out_table

The updated input table with the field group deleted.

Table View

Code sample

DeleteFieldGroup example (Python window)

Delete a field group from a table.

import arcpy
arcpy.DeleteFieldGroup_management("C:\\MyProject\\myConn.sde\\mygdb.USER1.myFC", "MyFieldGroup")

Environments

Licensing information

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

Related topics