ArcFM Tools in ArcCatalog
Assign Autoupdaters

Resource Center Home

Autoupdaters (AUs) perform specific tasks when particular events occur. You may assign AUs to a feature class (object AU), a field on a feature class, or a relationship class. The procedures for assigning each type of AUs are similar. However, they are assigned on different tabs of the ArcFM Properties Manager. Always begin by right-clicking the feature in the ArcCatalog TOC and selecting ArcFM Properties Manager.

ArcFM autoupdaters will execute only on ArcFM objects (see ArcFM Solution Object Converter). If you convert a layer, dataset or geodatabase to Esri Objects, ArcFM autoupdaters will no longer fire.

 

Object Autoupdaters

Autoupdaters perform tasks such as automatically relating a feature to another feature when placed or deleting an associated record when the feature is deleted. Autoupdaters can be as simple as showing a message box or as complicated as performing multiple queries and updating records in an external database.

A list of autoupdaters is provided in the Appendix.

  1. Right-click the feature and select the ArcFM Properties Manager.

  2. Click the Object Info tab.

  3. Select a subtype, if necessary. If you do not select a subtype, edits will apply to all subtypes of the feature class.

  4. Select an event: On Feature Create, On Feature Update, On Feature Delete. Linear features will also have these events: Before Feature Split, On Feature Split, After Feature Split.

  5. Select an autoupdater from the list. Select <Multiple...> if you wish to assign more than one autoupdater to the event. If you are assigning only one AU, skip to step 10.

  6. If you select <Multiple...>, the following dialog appears:

  7. Double-click or use the right arrow to move autoupdaters from the Available field to the Selected field. The left arrow moves AUs out of the Selected field.

  8. Use the up/down arrows to the right of the Selected field to designate the firing order. The autoupdaters in the Selected field will be executed in the order in which they appear. Be sure they are in the correct order before dismissing the dialog.

  9. Click OK to save and return to the Properties Manager. If you have assigned more than one autoupdater, the field will display <Multiple...>.

  10. Click Apply to save and retain the Properties Manager or OK to save and dismiss the dialog.

 

Field Autoupdaters

ArcFM autoupdaters automatically generate an attribute value at the onset of a specific event such as adding or deleting a feature. For example, you might want to record the creation date of a feature, or automatically rotate a point feature at a defined angle when snapped to a line. Or you can configure the database to automatically associate a point feature with an adjacent street, building or utility pole when placed on the map. A complete list of object class and field autoupdaters is provided in the Appendix. You can also develop custom autoupdaters, as described in the ArcFM Solution Developer Help.

The list of available attribute autoupdaters is limited by the field type and domain of the field. Some AUs may be available only for fields with a particular data type or that has a certain domain assigned.
  1. Right-click the feature and select the ArcFM Properties Manager.

  2. Click the Field Info tab.

  3. Select a subtype, if necessary. If you do not select a subtype, edits will apply to all subtypes of the feature class.

  4. Select an event: On Feature Create, On Feature Update.

  5. Select an autoupdater from the list. If that field's Editable property does not automatically change to No when you set the attribute autoupdater, change its value to No.

  6. Click Apply to save and retain the Properties Manager or OK to save and dismiss the dialog.

 

Relationship Autoupdaters

When you right-click a relationship class and select ArcFM Properties Manager, you will notice that the dialog is different. Assign autoupdaters to the On Relationship Created and On Relationship Deleted events.

The Alias Name field is used by the Inspector tool to provide a display name for the relationship being inspected.

 

ArcFM Solution ships with the ArcFM Update Rated kVA and ArcFM Relate Feeder Object autoupdaters. The ArcFM Update Rated kVA autoupdater adjusts the rated kVA of the transformer bank when a transformer unit is added or deleted. Check the "Validate Related Objects" to include the related object in the relationship in QA Validation.

 

If ArcFM Autoupdaters aren't available, you may need to convert to ArcFM objects.

 

 


Send Comment to documentation@schneider-electric.com