Creating a custom geoprocessing function tool extends the ArcGIS geoprocessing framework by using the ArcObjects components. Custom function tools are created using ArcObjects SDK for Java or ArcObjects .SDK for the Microsoft .NET framework. The custom tool you create can be integrated with ArcGIS to behave in the same manner as out-of-the-box ArcGIS geoprocessing tools. You can open and execute a custom geoprocessing tool from ArcToolbox, use it in script tools or ModelBuilder, and chain it with other geoprocessing tools.
Learn more about creating function tools using ArcObjects SDK for Java.
Note:
Sharing a custom geoprocessing function tool built in Java is only supported in ArcMap, it is not supported in ArcGIS Pro.
When sharing a model or script with custom function tools on a server as a geoprocessing service, you must deploy (register) the custom tool to ArcGIS Server. To deploy a custom Java function tool to ArcGIS Server, follow the steps below:
- Copy the custom function tool's JAR file to <ArcGIS Server Install Directory>\usr\lib\ext folder.
- Publish the model or script tool that has the custom tool in the same manner as other geoprocessing tools and models from ArcGIS Desktop or through ArcGIS Manager.
- If you are unfamiliar with publishing tools as geoprocessing services, refer to A quick tour of publishing a geoprocessing service.