Feature service using with ArcGIS Pro (ArcObjects) in C#.Net

550
4
07-13-2020 11:52 PM
SrinivasaRao1
New Contributor III

Hi All,

Can anyone provide solution for below.

How to get sublayers from ArcGIS online feature service using with ArcGIS Pro (ArcObjects) in C#.Net?

Thanks

Srinivas

0 Kudos
4 Replies
JoshuaBixby
MVP Esteemed Contributor

Sharing with ArcGIS Pro‌ and ArcGIS Pro SDK‌.

For future reference, "ArcObjects" is a library of COM components that is tied to ArcGIS Desktop/ArcMap.  Software development for/with ArcGIS Pro uses the ArcGIS Pro SDK and not ArcObjects.  I mention this because:  1) the title of the post isn't very specific, and 2) stating the wrong SDK might reduce the number of people that look at the post and reply.

0 Kudos
SrinivasaRao1
New Contributor III

Thanks for letting me know, but our idea to publish service from the code using C# for automation of services

0 Kudos
UmaHarano
Esri Regular Contributor

Here are some code snippets that show you how to get Feature layers from a feature service.

https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-MapAuthoring#create-layer 

SrinivasaRao1
New Contributor III

Thank you, will get back if we not found solution from above link.

0 Kudos