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 the data and want to roll back the upgrade, run this tool.

  • The Upgrade Attachments tool sets a minimum client release version when it runs. This means that older clients may not work with the attachment table once it has been upgraded. Use the Downgrade Attachments 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 the data is stored in an enterprise geodatabase, this tool must be run as the data owner.

Parameters

LabelExplanationData Type
Input Dataset

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

Table View

Derived Output

LabelExplanationData Type
Output Dataset

The input dataset with downgraded attachments.

Table View

arcpy.management.DowngradeAttachments(in_dataset)
NameExplanationData 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.management.DowngradeAttachments("C:\\MyProject\\MyGDB.gdb\\MyFC")

Environments

This tool does not use any geoprocessing environments.

Licensing information

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

Related topics