eromanfirst

Create an Add-In to Publish a Feature Access Service to AGOL from an MXD in C#?

Discussion created by eromanfirst on Apr 9, 2014
Latest reply on Jul 15, 2014 by eromanfirst
Hello,

I need to create an ArcMap Add-In to automate publishing a new feature access service as well as update an existing one from an MXD using C# (.NET 3.5 or 4.0).

I saw the thread for my question using Python (???How to publish a feature service to ArcGIS Online from an mxd USING PYTHON????) but am not able to find which ArcObjects I should use to do the same thing as

     arcpy.mapping.CreateMapSDDraft()
     arcpy.mapping.AnalyzeForSD()
     arcpy.StageService_server()
     arcpy.UploadServiceDefinition_server()

Any help would be greatly appreciated.

Thank you!

Outcomes