ArcFM Desktop Overview > ArcFM Desktop Developer Samples > Geodatabase Manager: Action Handlers |
Product Availability: Geodatabase Manager (ArcFM Desktop, ArcFM Engine)
Geodatabase Manager uses action handlers to perform specific tasks on certain events. Action handlers are provided with Geodatabase Manager, but you may also create custom action handlers. This developer sample offers two sample action handlers.
Developer Sample: Developer Samples\Geodatabase Manager\C# - Action Handlers\Miner.Samples.ActionHandlers
How to Implement:
Copy Code
|
|
---|---|
<ActionHandlerAssemblies> <ActionHandlerAssembly type="Miner.Geodatabase.Engine, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc"/> <ActionHandlerAssembly type="Miner.Process, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc"/> </ActionHandlerAssemblies> |
Copy Code
|
|
---|---|
<ActionHandlerAssembly type="Miner.Samples.ActionHandlers, Version=10.1.0.0, Culture=neutral, PublicKeyToken=04352abd332ef1ac"/> |
How to Use:
Requires:
All of the files shown below are required for the solution to build successfully. Download these files from the ArcFM Solution Resource Center here.
File
Description
Miner.Samples.ActionHandlers.csproj
C# project containing the code to create custom action handlers for use in Geodatabase Manager.
LogToReconcileHistory.cs
(view code)Class for a sample action handler that writes information about the reconcile process.
PxDeleteByWorkFunction.cs
(view code)Class for a sample action handler that deletes objects based upon their work functions.
The following files provide supporting information for the .cs file and are required for the project to compile successfully.
AssemblyInfo.cs
Class module to support the tool
The following reference files are required for the project to compile successfully.
Esri.ArcGIS.Geodatabase
Esri.ArcGIS.System
log4net
Miner.Geodatabase.Engine
Miner.Interop.Geodatabase
Miner.Interop.Process
Miner.Process
System.Core
System.Xml