How to export the shape file in arcgis runtime sdk with help of localserver ?

433
2
08-27-2020 09:04 AM
HarshGupta
New Contributor II

Michael Branscomb

Hi sir,

I deployed local server in my .net application it run successfully.

1) And also my gpk package is not perfectly genrated please help me ? 

and

2) when i pass sample packege there  like featuretoshape (gpk) but unable to pass accurate parameter(geoprocessing parameter ) how to pass (geoprocessing parameter )  ?

Tags (1)
0 Kudos
2 Replies
HarshGupta
New Contributor II

Michael Branscomb

hi sir 

I created local server and hosted serive on it and shape file is also genrated 

"C:/EsriSamples/AppData/Documents/ArcGIS/Packages/fctoshp_railway_E6EE0999-9E4D-4CFD-A6B0-FE6D85383425/p20/test" in this location

how to get this location by code ?

0 Kudos
MichaelBranscomb
Esri Frequent Contributor

Hi,

My recommendation is to expose the output location/folder as a string input parameter. You can then specify the desired output location in your code and the Local Geoprocessing Service will write the Shapefile directly to that location.

Documentation resources:

- For ModelBuilder Inline variable substitution—ArcGIS Pro | Documentation 

- For Python Scripts Setting script tool parameters—ArcGIS Pro | Documentation 

Thanks

Mike

0 Kudos