Select to view content in your preferred language

getUrlGeoprocessingService returns null

1763
2
07-07-2016 04:49 AM
LukeCatania
New Contributor III

When specifying GPServiceType.SUBMIT_JOB_WITH_MAP_SERVER_RESULT my resulting URL is null.  when using GPServiceType.EXECUTE or GPServiceType.SUBMIT_JOB I get a valid URL.

Other Geoprocessing Models that I export to GPK return a valid URL when specifying GPServiceType.SUBMIT_JOB_WITH_MAP_SERVER_RESULT.  I model my parameters and select add to display.  The odd thing is when I run the tool in desktop, the result is not added to the display even through that is checked in the model.  I have to add it through catalog and trying to add it through the result tab does not add it to the display either.

0 Kudos
2 Replies
LukeCatania
New Contributor III

And I do have model parameter checked also.

0 Kudos
nita14
by
Regular Contributor

First, make the model running on your desktop. Then, make a package out of the results. If you have still problems, attach you toolbox with model and associated data, then I would be able to help

Regards,

Adam

0 Kudos