<?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: Duplicate inbuilt 'identify' function for add-in in ArcGIS Explorer Desktop Questions</title>
    <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26825#M140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ben,&lt;BR /&gt;&lt;BR /&gt;When debugging the code are there any errors / messages?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mike&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ah... I was hoping this would be a "Oh, we know about this..." sort of thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm afraid all that comes back is a SOAP fault:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;soap:Fault&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;faultcode&amp;gt;soap:client&amp;lt;/faultcode&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;faultstring&amp;gt;Error processing server request&amp;lt;/faultstring&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;detail/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/soap:Fault&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;After some analysis, the SOAP requests sent for the two services (same mxd file, different publishing method) are wildly different. I'll attach them, but in short the &amp;lt;LayerDescription&amp;gt; element in the msd request is quite minimal:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;ScaleSymbols&amp;gt; is set to false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no empty &amp;lt;SelectionFeatures/&amp;gt; element as there is in the mxd request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no &amp;lt;SelectionSymbol&amp;gt; element.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no &amp;lt;SelectionBufferSymbol&amp;gt; element.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll have a look at forcing these elements; at the moment this is all I have to go on. Hope it makes sense.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 21:05:48 GMT</pubDate>
    <dc:creator>BabbageOcelot</dc:creator>
    <dc:date>2021-12-10T21:05:48Z</dc:date>
    <item>
      <title>Duplicate inbuilt 'identify' function for add-in</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26814#M129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello dev guys &amp;amp; gals,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know it's an odd request, but bear with me. My users are so used to having to click a button, to then identify, I'd like to give them one via an add-in; just clicking on the map is a bit of a leap! Something which changes the cursor to a crosshair would make them feel a lot better. I can also give them feedback if there's nothing there, as opposed to just doing nothing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a code shortcut to duplicate the click functionality - that is: detect click in MapDisplay, identify, bring up list of elements at point - of the inbuilt map click? Appending to MapDisplay.MapItemClicked doesn't do anything, and MapDisplay.GraphicClicked appends to the function click only on graphic overlays, which isn't really what I want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd also like to add the identify location into a folder in the content pane, rather than have it stick around until the map is moved and then disappear, so it's not going to be a straight reference to the click handler...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lastly: noted in the (hilariously techno) Explorer 1500 preview video what looks to be identify-by-area. Which is another thing users here really want, and is a job less for me. Is this the case? Hope so! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a proposed feature list somewhere?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Aug 2010 15:42:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26814#M129</guid>
      <dc:creator>BabbageOcelot</dc:creator>
      <dc:date>2010-08-18T15:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate inbuilt 'identify' function for add-in</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26815#M130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not an odd request at all. The API does provide everything that you need to achieve this I think.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm assuming that you are working with a FeatureLayer such as shapefile or geodatabase feature class. If not the following may be irrelevant, so please post back if that's the case. So from the button click....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Capture user interaction with the MapDisplay using one of the Track methods (e.g TrackPoint, TrackPolygon &amp;gt; this will return a geometry&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Return the Table for the FeatureLayer &amp;gt; FeatureLayer.Table&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Perform a spatial query &amp;gt; Table.Search passing in the appropriate filter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You then have lots of choices but you could then iterate over the rows and create Notes from the results and add them to the contents window or bind the results directly to a grid using the TablebindingAdapter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The SDK contains plenty of advice how to use these methods and there is a conceptual topic called &lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/1200/arcgisexplorer/conceptualhelp/0002/000200000016000000.htm"&gt;How to Search A Table &lt;/A&gt;&lt;SPAN&gt;which will be a useful reference&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can also confirm that the 1500 release does not have any out-of-the-box capabilities to do a search by area.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike Rudden&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 07:29:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26815#M130</guid>
      <dc:creator>MikeRudden</dc:creator>
      <dc:date>2010-08-19T07:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate inbuilt 'identify' function for add-in</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26816#M131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thankyou - that should get me somewhere near; this is all preliminary and I've not started hacking about yet, but it sounds about right. If it can be made generic, too, then I should be able to implement identify-by-area.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I may, I've got another identify-related question, regarding Service Layers. The layer itself has to be 'enabled' with a checkbox via right-click properties; if this is not enabled, and I detect a click (hopefully using similar methods to those you mention above), will the identify happen?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Likewise, is there (currently, or in future) any way to limit identify results to Service Layer sub-layers which are currently being shown?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 11:14:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26816#M131</guid>
      <dc:creator>BabbageOcelot</dc:creator>
      <dc:date>2010-08-19T11:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate inbuilt 'identify' function for add-in</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26817#M132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Querying map services (ServiceLayers) is a little more complex. By default, these are not included in the OOTB identify operation - as you have noted you need to explicitly enable this behaviour on a per-service basis. This is because map services can contain many thousands of coincident features which could cause a performance hit in ArcGIS Explorer. The ServiceLayer class also does not have the Search method as the Table does. Which means your best option if you want to include map services in your identify (/spatial search) is to use the ArcGIS SOAP API to perform the identify on the service and combine the results with the results from the Table.Search method... bearing in mind that you are likely have no control over the remote ArcGIS Server and therefore depending on many factors the query could take a little time to return so it's best done in an asynchronous fashion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've attached a 7zip'd VS 2008 Solution of an example I wrote a while back - it's intended to be used in a DockWindow Add-In, but could be put behind a Button Add-In and the results displayed in a new Form. Unfortunately I just recompiled this against 1500 to remove a couple of issues which means you won't directly be able to build the project until 1500 is actually released... but that's pretty soon. You should however be able to open it and copy the relevant bits (inc UI components from the DockWindow form I hope - but if not it's basically just a Button and a TreeView control plus a CheckBox and a ProgressBar).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;N.B. There are some new query capabilities in the Explorer API at 1500 for both FeatureLayers and ServiceLayers/ServiceChildLayers - but they're more relevant to attribute queries than spatial searches.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike 2&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 09:19:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26817#M132</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2010-08-20T09:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate inbuilt 'identify' function for add-in</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26818#M133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just found an issue with that code - you'll need to find the private void btnIdentify_Click(object sender, EventArgs e) method and copy/paste the section of code below to replace the code sample. It was just missing the extra slash (+ "/") in the URL construction. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Loop through the services adding MapServices to the ServiceInfo object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (ServiceLayer serviceLayer in serviceLayers)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (serviceLayer.ServiceConnectionProperties.ServiceType == ESRI.ArcGISExplorer.Data.ServiceType.MapServer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serviceInfo = new ServiceInfo();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serviceInfo.MapServiceName = serviceLayer.Name;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serviceInfo.MapServiceURL = Convert.ToString(serviceLayer.ServiceConnectionProperties.Url)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + "/" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + serviceLayer.ServiceConnectionProperties.ServiceName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + "/MapServer";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serviceIdentifyParams.MapServicesInfomation.Add(serviceInfo);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike 2&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 09:35:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26818#M133</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2010-08-20T09:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate inbuilt 'identify' function for add-in</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26819#M134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm afraid this is a bit over my head (I'm a Javascript developer mainly). Does the WSDL proxy need recreating? I see from the netmon logs it's requesting using the schema:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;tns: http://www.esri.com/schemas/ArcGIS/10.0&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;... now the server we're running map services on is 9.3.1, and it's Explorer 1200.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No queries (with known features at click point) return any results - in fact, I can't really see that the SOAP request is sending any point data. In return, the service responds with map information - spatial reference, visible area - but nothing related to a point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Having never used the SOAP API, it's a whole new experience...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Ben.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 13:00:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26819#M134</guid>
      <dc:creator>BabbageOcelot</dc:creator>
      <dc:date>2010-08-24T13:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate inbuilt 'identify' function for add-in</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26820#M135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example now runs perfectly in 1500; have pulled it apart and rebuilt to our specification without much fuss!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fantastic job on the release, wasn't expecting it for weeks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Look forward to reading the new SDK documentation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: I should add there was a tiny bug in the example given. Odd failures occur if you select more than one map service, and click in an area where the topmost service doesn't have any features (but lower layers do).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's to do with this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;//If no results are return exit
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (mapServerIdentifyResults.Length == 0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;...which has the effect of halting the serviceIdentifyParams.MapServicesInfomation loop, even though there might be pertinent stuff lower down. Really easy fix:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;//If no results are return exit
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (mapServerIdentifyResults.Length &amp;gt; 0){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...etc
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:05:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26820#M135</guid>
      <dc:creator>BabbageOcelot</dc:creator>
      <dc:date>2021-12-10T21:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate inbuilt 'identify' function for add-in</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26821#M136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm glad you found the sample useful and are enjoying 1500. The new release does include the capability to perform identifies on map services but you might still prefer to stick with your Add-in with which you'll obviously have more contorl over the behaviour and user experience. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And thanks for bug fix to my sample... admittedly I hadn't done much testing of with different services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 09:02:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26821#M136</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2010-08-27T09:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate inbuilt 'identify' function for add-in</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26822#M137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any chance I could have that add-in (i mean the *.eaz file)??&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 20:19:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26822#M137</guid>
      <dc:creator>SergioGalindo</dc:creator>
      <dc:date>2010-10-04T20:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate inbuilt 'identify' function for add-in</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26823#M138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sorry to drag this old one back to the top of the forum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're migrating our server from 9.3 to 10, and in the process only publishing .msd-based map services. Unfortunately, these don't work with this add-in - either the original, or my modified one. It's not a v10 issue, because I've published a further test on our 9.3 box demonstrating that mxd files work, and msd files don't. The only warnings that come up when creating the .msd are that the datasource is [and must remain] SDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The wsdl looks to be the same, so I'm confused. Is there anything you can suggest?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there any chance I could have that add-in (i mean the *.eaz file)??&lt;BR /&gt; &lt;BR /&gt;Thanks in advance!!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Sure - I'll have to have a look at making it less rubbish (and a little more functional) before I distribute, though!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 13:48:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26823#M138</guid>
      <dc:creator>BabbageOcelot</dc:creator>
      <dc:date>2010-10-26T13:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate inbuilt 'identify' function for add-in</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26824#M139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When debugging the code are there any errors / messages?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 14:14:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26824#M139</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2010-10-26T14:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate inbuilt 'identify' function for add-in</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26825#M140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ben,&lt;BR /&gt;&lt;BR /&gt;When debugging the code are there any errors / messages?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mike&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ah... I was hoping this would be a "Oh, we know about this..." sort of thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm afraid all that comes back is a SOAP fault:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;soap:Fault&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;faultcode&amp;gt;soap:client&amp;lt;/faultcode&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;faultstring&amp;gt;Error processing server request&amp;lt;/faultstring&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;detail/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/soap:Fault&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;After some analysis, the SOAP requests sent for the two services (same mxd file, different publishing method) are wildly different. I'll attach them, but in short the &amp;lt;LayerDescription&amp;gt; element in the msd request is quite minimal:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;ScaleSymbols&amp;gt; is set to false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no empty &amp;lt;SelectionFeatures/&amp;gt; element as there is in the mxd request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no &amp;lt;SelectionSymbol&amp;gt; element.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no &amp;lt;SelectionBufferSymbol&amp;gt; element.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll have a look at forcing these elements; at the moment this is all I have to go on. Hope it makes sense.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:05:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26825#M140</guid>
      <dc:creator>BabbageOcelot</dc:creator>
      <dc:date>2021-12-10T21:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate inbuilt 'identify' function for add-in</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26826#M141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe you're receiving Tech Support on this issue currently? - if that's the case probably better to pursue through that avenue for better traceability. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not currently aware of any differences in the WSDL between an MXD-based service and an MSD-based service. However, it's possible that my Add-in was using an old SOAP proxy library. Perhaps try downloading the 10.0 pre-generated proxies (or generate new ones yourself if you prefer) - &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/EN/arcgisserver/10.0/apis/soap/Pre-generated_proxies.htm"&gt;http://help.arcgis.com/EN/arcgisserver/10.0/apis/soap/Pre-generated_proxies.htm&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 08:46:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26826#M141</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2010-11-04T08:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate inbuilt 'identify' function for add-in</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26827#M142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes - there's a tech support request out for this... the link you sent to the library was very helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It turns out that msd-published services behave differently to mxd-published ones with regard to the ImageDisplay attribute of the SOAP request. Mxd-published services don't care if the ImageDisplay is created with the default constructor &amp;amp; sent on its way; to make it work with msd-published services, you have to set the width, height and dpi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;// Fails with msd-published services
ImageDisplay imageDisplay = new ImageDisplay();

// Works for all services
ImageDisplay imageDisplay = new ImageDisplay();
imageDisplay.ImageHeight = 500;
imageDisplay.ImageWidth = 500;
imageDisplay.ImageDPI = 96;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your time on this, at least by using the compiled .dll I could remove that from the possible causes. &lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/soap/SOAP_CSharp_Examples.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;The SOAP API C# Examples&lt;/A&gt;&lt;SPAN&gt; were also pretty handy for creating test cases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this is of help to someone out there!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:05:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/duplicate-inbuilt-identify-function-for-add-in/m-p/26827#M142</guid>
      <dc:creator>BabbageOcelot</dc:creator>
      <dc:date>2021-12-10T21:05:51Z</dc:date>
    </item>
  </channel>
</rss>

