Assign Autoupdaters

Autoupdaters (AUs) perform specific tasks when particular events occur. You can 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 Catalog Tree and selecting ArcFM Properties Manager.

TIP: A list of autoupdaters is provided in the Appendix.

ArcFM autoupdaters 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 and 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.

  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 also have these events: Before Feature Split, On Feature Split, After Feature Split.
  5. Do one of the following depending on how many autoupdaters you want to assign:
    • If you are assigning only one autoupdater, select it from the list and then proceed to step 6.

    • If you are assigning more than one autoupdater, perform the following sub steps:

    1. Select <Multiple...> to open the ArcFM Assign Autoupdaters dialog box.
    2. 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.
    3. Use the up/down arrows to the right of the Selected field to set the firing order.
      Autoupdaters in the Selected field execute in the order that they appear. Make sure they are in the correct order before dismissing the dialog.
    4. Click OK to save and return to the Properties Manager.
      If you have assigned more than one autoupdater, the field displays <Multiple...>.
  6. Click Apply to save and retain the Properties Manager, or click 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.

    IMPORTANT: 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.
  7. Right-click the feature and select the ArcFM Properties Manager.
  8. Click the Field Info tab.
  9. Select a subtype, if necessary.
    IMPORTANT: If a subtype is not selected, edits are applied to all subtypes of the feature class.
  10. Select an event: On Feature Create, On Feature Update.
  11. 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.
  12. Click Apply to save and retain the Properties Manager, or click 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.

    IMPORTANT: If ArcFM Autoupdaters aren't available, you may need to convert to ArcFM objects.
QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?