ArcFM Desktop Overview > ArcFM Solution Basics > Autoupdaters > Combo Special Autoupdaters |
The ArcFM Properties Manager allows you to assign multiple autoupdaters to a single event. You may wish to use this functionality instead of creating a combo AU. See the Configuring ArcFM Solution online help in ArcCatalog for more information.
There might be times when you’ll need to assign more than one special AU to a single event. For example, on the feature create event for a device, you might want to split the linear feature where the device is inserted and then relate the new device to a nearby feature. Both such AUs exist as provided by ArcFM. In fact, a combo AU that does the above is provided with ArcFM. The name of the AU is “Split/Relate Combo.” Typically, a slash (/) in the name of a special AU indicates that it is a combo - one that calls several special AUs in a certain order. Creating combo AUs is fairly simple, but there are a couple things to consider when doing so:
Do not make combos that call other combos.
Assume that every AU can raise the MM_E_CANCELEDIT error code. This means that your error handling must be able to receive this error from the AU that raised it and make sure it reaches the ArcFM Autoupdater component (i.e. - that it isn’t handled).
Co-create the various special AUs that you will be calling in the Execute() method of the combo AU (if they haven’t been created) and store them in member variables. This way, the next time your combo AU is executed, your combo AU will not need to re-create its constituent special AUs.
Register a Combo Special AU in the Special AutoUpdate Strategy component category.