Sample - Special Autoupdaters: Downstream Trace

Version 2

    Versions: 9.3.1 - current

    Product Availability: ArcFM Desktop

     

    Users can write special autoupdaters to perform a wide array of tasks such as writing out text files, updating records in a remote database, sending emails - just about anything that you would need to do programmatically in response to a feature/object event (create, update, or delete).

     

    The special autoupdater in this example traces from a service point upstream to the transformer, then selects and zooms to the transformer.


    How to Implement:

    1. You may modify the code sample. This step is not required.
    2. Build the solution sample.
    3. This autoupdater assumes a relationship exists between the Service Point and Transformer feature classes. Create this relationship if it doesn't already exist.
    4. In ArcCatalog, an administrator should assign this autoupdater (Trace to Xfr) to the On Feature Create event of the Service Point feature class.


    Requires:

    All of the files shown below are required for the solution to build successfully.

     

    FileDescription
    Miner.Samples.SpecialAU.csprojC# project containing the code to generate a special autoupdater.
    DownStreamSecondaryTracer.csSupporting class module
    Junction.csSupporting class module
    Junctions.csSupporting class module
    PointDisplay.csSupporting class module
    SecondaryTracer.csSupporting class module
    SpecAUTraceToXfr.csClass module that implements IMMSpecialAUStrategy
    TraceEventArgs.csSupporting class module
    TraceException.csSupporting class module
    UpStreamSecondaryTracer.csSupporting class module
    AssemblyInfo.csClass module to support the tool.