Creating arcgis runtime content from SOE

1601
3
Jump to solution
08-14-2016 10:45 AM
Haider_Ali
Occasional Contributor

I want to create runtime geodatabase and mpk from Server Object Extension . My problem statement is that user can only view the existing data and cannot modify it, he can add feature in its runtime geodatabase and sync it back but not the data he got it from server(even his own data) , so i was thinking if i can create a mpk (read-only data) and an empty geodatabase (which he can edit and sync back). I cant find an example to create runtime content from SOE (all examples are creating it from mxd). 

0 Kudos
1 Solution

Accepted Solutions
nita14
by
Occasional Contributor III

Hi Haider,

You don't need to develop any SOE. I created the same functionality using Geoprocessing Service (python toolbox) for downloading GPKs. Just use Package Map—Help | ArcGIS for Desktop and expose result as GPDataFile from your service. Invoke the GP service from your client app, specifying for example the current map extent as an input parameter, and download resulting file using any HTTP library of your preference.

Best Regards,

Adam 

View solution in original post

3 Replies
nicogis
MVP Frequent Contributor
0 Kudos
Haider_Ali
Occasional Contributor
in_map

The input map document (.mxd) that will be consolidated into a single folder.

ArcMap Document

In my SOE how can i provide  in_map parameter

0 Kudos
nita14
by
Occasional Contributor III

Hi Haider,

You don't need to develop any SOE. I created the same functionality using Geoprocessing Service (python toolbox) for downloading GPKs. Just use Package Map—Help | ArcGIS for Desktop and expose result as GPDataFile from your service. Invoke the GP service from your client app, specifying for example the current map extent as an input parameter, and download resulting file using any HTTP library of your preference.

Best Regards,

Adam