The Attribute Assistant Add-In is preconfigured to perform common tasks for the editing workflows in the ArcGIS Solutions that use this tool. The behavior of this tool can be modified to work with other datasets or to perform additional functions by modifying the configuration file shared by these add-ins.
The configuration file (loaded.aa.config) can be accessed from the Attribute Assistant toolbar or by browsing to one of the following directories:
Operating System | Directory |
Windows Vista, 7, 8, 10 and Server 2008, 2012 | %AppData%\ArcGISSolutions\ConfigFiles |
Windows XP, 2000 and Server 2003 | C:\Documents and Settings\%UserName%\Application Data\ArcGISSolutions\ConfigFiles |
Attribute Assistant configuration
The Attribute Assistant Add-In can also be configured to work with your data. To configure the Attribute Assistant, open the loaded.aa.config file and set the following parameters:
Enable Attribute Assistant
To enable the Attribute Assistant automatically when a map document containing the DynamicValue table is opened, set the AttributeAssistant_EnabledOnStartUp
key value to True
.
Enable Attribute Assistant - Editing
To enable the Attribute Assistant automatically when an edit session has begun, set the AttributeAssistant_EnabledOnStartUpEditing
key value to True
.
DynamicValue table
The Attribute Assistant methods are recorded in the DynamicValue table. To use a table with a different name, set the AttributeAssistant_TableName
key value to your table name.
GenerateID table
The Attribute Assistant uses the GenerateID table to generate unique identifiers. To use a table with a different name, set the AttributeAssistant_GenerateId_TableName
key value to your table name.
GenerateID fields
The GenerateID table must have three fields: Name, Counter, and Interval. To use fields with different names, set the SequenceName
, SequenceCounter
, and SequenceInterval
key value to your field names.
Log file
The Attribute Assistant can record a log file of any errors found while processing the Attribute Assistant methods. Enabling this functionality will save the log file . To enable the log file, set the AttributeAssistant_Debug
key value to True
.
Log file path
The location of the Attribute Assistant log file can also be saved in a different location on your computer. To save the log file in a different location, set the AttributeAssistant_Debug_Path
key value to your location (by default, %AppData%\ArcGISSolutions
).
Last Value
The Attribute Assistant Last Value method repeats the last value entered into a field for all new features. To reset this value when the Attribute Assistant is disabled and re-enabled, set the AttributeAssistant_ClearLastValue
key value to True
.
Last Value - Editing
The Attribute Assistant Last Value method repeats the last value entered into a field for all new features. To reset this value when an edit session has ended, set the AttributeAssistant_ClearLastValueStopEdit
key value to True
.
Intersecting Features
The Attribute Assistant Intersecting Features method copies a value from a feature to an intersecting feature in a specified layer. By default, the outline of the feature is used to identify intersecting features. To use the envelope of the feature, set the AttributeAssistant_CheckEnvelope
key value to True
.
Geocoding Service
The Attribute Assistant Get Address Using an ArcGIS Online Service method uses the TA_Streets_US_10 geocoding service by default. To change the geocoding service, set the Geocoder
key value to your locator's REST Endpoint URL.
Bypass edit operation
When the Attribute Assistant is enabled and features are deleted, related records are also processed by the add-in. For quicker delete operations, set the BypassEditOperationCheck
key value to True
, which will skip related records.
Splitting Features
When a line or polygon feature is split using the Split tool, Attribute Assistant will by default call an On Change Geometry event. To call On Create instead of On Change Geometry when a feature is split, set the OnCreateWhenSplit
key value to True
.
Disable parcel store event
If using parcel fabrics to join or unjoin parcels, set the SetStoreEventsRequired
key value to False
to keep the original parcel OIDs.
Show comments on prompt dialog
For rules that present an options dialog, the comments field in the DynamicValue table can be displayed to provide more information to the user. Set the ShowCommentsOnPrompt
key value to True
to display the comments.
Beta - Stored Procedure
A stored procedure can be called to increment and read the new sequence value in a single operation and ensure the sequence is unique. To call this stored procedure, use the GenerateIDStoreProceName
key value. More information on this beta functionality, can be found on GitHub.