Downgrade Attachments (Data Management)

Summary

Downgrades the attachments functionality of a feature class or table.

Usage

  • If you used the Upgrade Attachments tool to upgrade the attachments functionality on your data and want to roll back the upgrade, run this tool.

  • The Upgrade Attachments tool sets a minimum client release version when executed on your data. This means that older clients may not work with the attachment table once it has been upgraded. Use this tool to downgrade the attachments functionality to allow older clients to work with the attachment table.

  • This tool removes the two fields from the attachment table that were added by the Upgrade Attachments tool: KEYWORDS and EXIFINFO. Values stored in these fields will be lost when the attachments are downgraded.

  • If your data is stored in an enterprise geodatabase, this tool must be executed as the data owner.

Syntax

arcpy.management.DowngradeAttachments(in_dataset)
ParameterExplanationData Type
in_dataset

The feature class or table that will have its attachments functionality downgraded.

Table View

Derived Output

NameExplanationData Type
out_dataset

The input dataset with downgraded attachments.

Table View

Code sample

DowngradeAttachments example (Python window)

Downgrade attachments on a feature class using the DowngradeAttachments function.

import arcpy
arcpy.DowngradeAttachments_management("C:\\MyProject\\MyGDB.gdb\\MyFC")

Environments

This tool does not use any geoprocessing environments.

Licensing information

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

Related topics