How to use
See How to use ArcGIS samples for help on running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.
Deploy extension to ArcGIS Engine Runtime
- Navigate to this sample's lib folder (relatedobjectevent/lib) and copy RelatedObjectEventExt.jar into the <ArcGIS Engine Runtime Install Dir>/java/lib/ext folder to deploy the custom feature class extension. The extension functionality will become available to you when you start the runner application.
- Navigate to this sample's bin folder (relatedobjectevent/bin) and execute the RelatedObjectEvent.jar to start the application (Eclipse can also be used to execute the application - RelatedObjectsRunner.java).
- Review the output messages on the command prompt or in Eclipse's output window.
- Use ArcCatalog or ArcMap to review the data in the output location.
Download the files for Java
geodatabase/RelatedObjectsRunner.java | Main class |
geodatabase/classextension/RelatedObjectEventHandler.java | Class extension class |
See Also:
Getting started with class extensionsDevelopment licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine Runtime: Geodatabase Update |