Add a note in the documentation for the arcpy.CreateGPSDDraft function (http://resources.arcgis.com/en/help/...0000008z000000) that it only works with .tbx toolboxes, and there's no way to get it to work with python toolboxes. Would have saved me some time digging thru documentation to find what I was missing, only to end up empty.
Better yet, make the descriptions can just be made optional.
http://forums.arcgis.com/threads/103083-ERROR-001242-when-calling-arcpy.CreateGPSDDraft-with-result-...
Python toolboxes (PYT) support parameter descriptions authored in the ArcGIS Pro tool metadata editor, as described here https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/document-a-custom-tool.h...
When the parameters have descriptions, the arcpy function for sharing an sddraft from the tool result can be made.
Also in recent versions of ArcGIS Pro, the parameter descriptions are now optional when sharing the tool as a service.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.