Select to view content in your preferred language

Don't track GP tools like Add Relate in item metadata

516
4
03-22-2024 02:02 PM
Status: Open
Labels (1)
Bud
by
Esteemed Contributor

Edited.

ArcGIS Pro 2.6.8; Oracle 18c 10.7.1 EGDB:

Tools like Add Relate and Calculate Field get tracked in the item metadata (aka the FC geoprocessing history).

Add Relate doesn't alter the FC schema or alter the data. Why track it in the GP history every time a user uses that tool on an EGDB FC? It adds a lot of bloat to the item metadata, which can cause issues. See: GP tool to clear geoprocessing history from feature class.

Idea:

Only track GP tools that alter the FC schema or data in the geoprocessing history.

4 Comments
BlakeTerhune

You do have some control over this in the settings and in ArcPy (SetLogHistory and SetLogMetadata).

Bud
by

@BlakeTerhune is the setting in the first link for the Project/APRX geoprocessing history or the geodatabase/FC/metadata geoprocessing history?

@DrewFlater might find this interesting.

Bud
by

@DrewFlater 

The docs say:

Update item properties in metadata - Geoprocessing history and metadata

You can optionally log geoprocessing operations in the item's metadata. When this option is enabled, each time you run a tool that modifies the item, an entry is added to the item's metadata.

Are the docs misleading? The Add Relate tool doesn't modify the item, but Add Related is tracked in the item metadata.