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.

Parameters

LabelExplanationData Type
Target Table

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

Table View
Field Group Name

The name of the field group that will be deleted.

String

Derived Output

LabelExplanationData Type
Updated Table

The updated input table with the field group deleted.

Table View

arcpy.management.DeleteFieldGroup(target_table, name)
NameExplanationData 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

Related topics