Hi all, I'm trying to publish a Geoprocessing Package to use with ArcGIS Runtime 10.2.3, the geoprocessing uses arcpy function "FeaturesToJSON_conversion". I've got an error : "Tool Features To JSON is not licensed for use in an ArcGIS Runtime package". However, the documentation says that this tool is supported: https://developers.arcgis.com/java/guide/supported-geoprocessing-tools.htm
What the problem is ? Thank you
Hi,
So it sounds like this is failing at the packaging stage? If so, it might be because of the version of ArcGIS Desktop that you are using. It looks like support for this tool was added at version 10.2.2.
~elise
Hi, thank you Elise,
Desktop is 10.2.1, Runtime is 10.2.3, is there a work arround ?
Not that I'm aware of - it's the Desktop version that will determine whether or not you can package a tool, and the Runtime version whether the packaged tool will execute (on the Runtime Local Server).
~elise
I know this is an old thread, but to update things: at 100.0, features are JSON serializable. See FeatureCollection| arcgis-java , to/fromJson.
I hope this is helpful!