<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MapServer object in ArcGIS 10.1 in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/mapserver-object-in-arcgis-10-1/m-p/293827#M7639</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As communicated in private email, if you want to access ArcObjects then you have write an SOE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An alternative is to use the published REST API to do what you need.&amp;nbsp; For example, perhaps the feature service has what you need.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jan 2013 13:33:01 GMT</pubDate>
    <dc:creator>RichardWatson</dc:creator>
    <dc:date>2013-01-31T13:33:01Z</dc:date>
    <item>
      <title>MapServer object in ArcGIS 10.1</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/mapserver-object-in-arcgis-10-1/m-p/293824#M7636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How to get MapServer object in ArcGIS 10.1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcGIS 10 I used the following code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
..........................
MapServer mapServer = (MapServer) context.getServerObject();
IMap map = mapServer.getMap(mapServer.getDefaultMapName());
IEnumLayer maplayers = map.getLayers(null, true);
............................
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 07:57:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/mapserver-object-in-arcgis-10-1/m-p/293824#M7636</guid>
      <dc:creator>JojiGeorge</dc:creator>
      <dc:date>2013-01-31T07:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: MapServer object in ArcGIS 10.1</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/mapserver-object-in-arcgis-10-1/m-p/293825#M7637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In 10.1 you can use this code if you can connect ags 10 but if you connect to 10.1 ags dcom connection has been remove. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you do in details?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 09:58:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/mapserver-object-in-arcgis-10-1/m-p/293825#M7637</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2013-01-31T09:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: MapServer object in ArcGIS 10.1</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/mapserver-object-in-arcgis-10-1/m-p/293826#M7638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In 10.1 you can use this code if you can connect ags 10 but if you connect with to 10.1 ags has been remove dcom connection. &lt;BR /&gt;What do you do in details?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually am adding feature to Featurelayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its works fine in ags 10&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
IFeatureCursor featureCursor = new IFeatureCursorProxy(featureClass.IFeatureClass_insert(true));
IPoint point = new IPointProxy(context.createObject(Point.getClsid()));
point.setX(pointX);
point.setY(pointY);
featureBuffer.setShapeByRef(point);
featureCursor.insertFeature(featureBuffer);
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:07:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/mapserver-object-in-arcgis-10-1/m-p/293826#M7638</guid>
      <dc:creator>JojiGeorge</dc:creator>
      <dc:date>2021-12-11T14:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: MapServer object in ArcGIS 10.1</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/mapserver-object-in-arcgis-10-1/m-p/293827#M7639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As communicated in private email, if you want to access ArcObjects then you have write an SOE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An alternative is to use the published REST API to do what you need.&amp;nbsp; For example, perhaps the feature service has what you need.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 13:33:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/mapserver-object-in-arcgis-10-1/m-p/293827#M7639</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2013-01-31T13:33:01Z</dc:date>
    </item>
  </channel>
</rss>

