You can create your own custom Action Handlers for Geodatabase manager.
Geodatabase Manger works with action handlers. These action handlers are nothing but a set of executions which are set to happen at certain events. GDB Manager also comes with ActionHandlers but our business requirement may trouble us to write one.
The following steps may help you create and implement one.
STEP 1: Code a custom action handlers Impletement PXActionHandler for your class
STEP 2: To make your desired functionality happen OVERRIDE the ENBALED and SUBEXECUTE
methods based on your requirement
STEP 3: Once you are done with coding part, create a STRONG NAME KEY for your assembly
STEP 4: Copy your assembly to Program Files\Miner and Miner\ArcFM Solution\bin
STEP 5: Open your VS CMD prompt and CD to Program Files\Miner and Miner\ArcFM Solution\bin and
generate a public key token and make a note of it. Use sn.exe to create one.
STEP 6: In windows explorer find GeodatabaseManagerAdmin.exe.config file in Program Files\Miner and
Miner\ArcFM Solution\bin folder and edit it in NOTEPAD. Find <ActionHandlerAssemblies> tag
and add your custom action handler assembly in there as in the same format of other
ActionHandlers with TYPE, PUBLIC KEY TOKEN, VERSION etc
STEP 7: Save and close the config file, Now open you GDB manager tool -> under Version Processing tab
under any PROCESS right click and add NEW ACTION HANDLER and select your custom
ActionHandler on the dropdown at your right hand side.
happy reconciling,
Geodatabase Manger works with action handlers. These action handlers are nothing but a set of executions which are set to happen at certain events. GDB Manager also comes with ActionHandlers but our business requirement may trouble us to write one.
The following steps may help you create and implement one.
STEP 1: Code a custom action handlers Impletement PXActionHandler for your class
STEP 2: To make your desired functionality happen OVERRIDE the ENBALED and SUBEXECUTE
methods based on your requirement
STEP 3: Once you are done with coding part, create a STRONG NAME KEY for your assembly
STEP 4: Copy your assembly to Program Files\Miner and Miner\ArcFM Solution\bin
STEP 5: Open your VS CMD prompt and CD to Program Files\Miner and Miner\ArcFM Solution\bin and
generate a public key token and make a note of it. Use sn.exe to create one.
STEP 6: In windows explorer find GeodatabaseManagerAdmin.exe.config file in Program Files\Miner and
Miner\ArcFM Solution\bin folder and edit it in NOTEPAD. Find <ActionHandlerAssemblies> tag
and add your custom action handler assembly in there as in the same format of other
ActionHandlers with TYPE, PUBLIC KEY TOKEN, VERSION etc
STEP 7: Save and close the config file, Now open you GDB manager tool -> under Version Processing tab
under any PROCESS right click and add NEW ACTION HANDLER and select your custom
ActionHandler on the dropdown at your right hand side.
happy reconciling,
No comments:
Post a Comment