<?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: Different results from different servers using the same JavaScript code? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319102#M29407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;G G,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; A couple of questions.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;When you move this to your production sever are you using a proxy url that is accessible to the production server?&lt;/LI&gt;&lt;LI&gt;Does the proxy have a server rule setup for your production server?&lt;/LI&gt;&lt;LI&gt;Do you change the device url to something there production server has access to?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An observation is that FeatureLayer.MODE_AUTO has this note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px; background-color: #fafafa;"&gt;Delegate to either on-demand or snapshot mode depending on the characteristics of the service. &lt;STRONG&gt;This is only applicable to hosted feature services.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Jan 2016 13:42:32 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-01-10T13:42:32Z</dc:date>
    <item>
      <title>Different results from different servers using the same JavaScript code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319101#M29406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've ran into an issue while making a web app that I cannot figure out. The app allows a user to click on a feature, and edit its attributes using the &lt;EM&gt;AttributeInspector&lt;/EM&gt;. Simple as that. I have a side panel with a div inside &lt;EM&gt;&amp;lt;div id="attributes"&amp;gt;&amp;lt;/div&amp;gt;&lt;/EM&gt; where the &lt;EM&gt;AttributeInspector&lt;/EM&gt; is created when a feature is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the code works fine on my development server, but not on our production server. And I have no idea why. It's the exact same code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the production server, when I click on a feature in the map, the &lt;EM&gt;AttributeInspector&lt;/EM&gt; message says "No features selected" in the side panel. But on my development server it actually creates the &lt;EM&gt;AttributeInspector&lt;/EM&gt; and shows the attributes and allows for editing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I look at the Network tab on the Chrome developer tools, I can see a successful query and it returns the feature I click on, but for whatever reason it doesn't show the attributes. However, on my development machine it works just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only difference is that the development machine is running ArcGIS Server 10.31, and our production server is running 10.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what could be wrong? I'm absolutely stumped. I don't know what could be causing the production server to not show the selected features.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 00:31:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319101#M29406</guid>
      <dc:creator>DotMatrix</dc:creator>
      <dc:date>2016-01-10T00:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from different servers using the same JavaScript code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319102#M29407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;G G,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; A couple of questions.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;When you move this to your production sever are you using a proxy url that is accessible to the production server?&lt;/LI&gt;&lt;LI&gt;Does the proxy have a server rule setup for your production server?&lt;/LI&gt;&lt;LI&gt;Do you change the device url to something there production server has access to?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An observation is that FeatureLayer.MODE_AUTO has this note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px; background-color: #fafafa;"&gt;Delegate to either on-demand or snapshot mode depending on the characteristics of the service. &lt;STRONG&gt;This is only applicable to hosted feature services.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 13:42:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319102#M29407</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-01-10T13:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from different servers using the same JavaScript code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319103#M29408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The production server also has it's own proxy, so I update the URL to point to it.&lt;/P&gt;&lt;P&gt;2) Yes, it does.&lt;/P&gt;&lt;P&gt;3) The device URL now resides on the actual production server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The feature service and proxy URLs were both updated in the code to use the ones that reside on the production server. Wouldn't there be some error in the console if it were a proxy issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got rid of the &lt;EM&gt;FeatureLayer.MODE_AUTO&lt;/EM&gt;, and still doesn't work correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is in a State Plane (feet) coordinate system. And I'm using an ESRI basemap. So, the map is in Web Mercator, but my data is in State Plane.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the production server, I edited the code to remove the ESRI basemap and do my own custom Extent with the spatial reference of my data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This kind of works, but I have to zoom in reallllly close to the feature even though my query is saying within 75 feet of my mouse click (and I've changed this to 2000 feet, and I still have to zoom in reallllly close). So, something is not right. But at least I did see the attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The strange thing is that this all works fine on my development machine. I'm using an ESRI basemap and my data is in the State Plane coordinate system. And it all works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea what's going on, and why they are behaving differently.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 00:48:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319103#M29408</guid>
      <dc:creator>DotMatrix</dc:creator>
      <dc:date>2016-01-11T00:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from different servers using the same JavaScript code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319104#M29409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dot Matrix,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Can you tell me if there are any errors in your browsers web console?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 02:17:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319104#M29409</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-01-11T02:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from different servers using the same JavaScript code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319105#M29410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are no errors in the console.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 03:25:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319105#M29410</guid>
      <dc:creator>DotMatrix</dc:creator>
      <dc:date>2016-01-11T03:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from different servers using the same JavaScript code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319106#M29411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dot Matrix,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Can you provide the urls for the public endpoint so I can do some testing then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 12:58:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319106#M29411</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-01-11T12:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from different servers using the same JavaScript code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319107#M29412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Given that its the same code but different services - Seems like your issue is with the some difference in the services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I thought that number was in pixels not feet.&amp;nbsp;&amp;nbsp; The number of px from your click to search so as to not be scale dependent. ( I didn't look it up so don't quote me )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 13:16:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319107#M29412</guid>
      <dc:creator>JordanBaumgardner</dc:creator>
      <dc:date>2016-01-11T13:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from different servers using the same JavaScript code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319108#M29413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, it's internal only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 04:28:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319108#M29413</guid>
      <dc:creator>DotMatrix</dc:creator>
      <dc:date>2016-01-12T04:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from different servers using the same JavaScript code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319109#M29414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Services were created the exact same, just on different servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The distance is right in the select query:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important;"&gt;selectQuery.geometry = evt.mapPoint;&amp;nbsp; &lt;/SPAN&gt;
&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;selectQuery.distance = &lt;SPAN class="number" style="font-weight: inherit; font-style: inherit; color: green; font-size: 9pt !important; background-color: inherit;"&gt;75&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;selectQuery.units = &lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; font-size: 9pt !important; background-color: inherit;"&gt;"feet"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="background-color: inherit; color: black; font-weight: inherit; font-size: 9pt !important; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:10:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319109#M29414</guid>
      <dc:creator>DotMatrix</dc:creator>
      <dc:date>2021-12-11T15:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from different servers using the same JavaScript code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319110#M29415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The strange thing is that I can see the responses, and I'm getting results back. But it's like it's not actually selecting the feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if it's some type of permission on the server that's being missed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created the feature service with a database connection using Windows/OS authentication. The ArcGIS Server Account has a login for the SQL Server instance, and it has a user and schema with read/write access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why wouldn't the features be selected even though it's returning a successful query?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 06:53:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319110#M29415</guid>
      <dc:creator>DotMatrix</dc:creator>
      <dc:date>2016-01-12T06:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from different servers using the same JavaScript code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319111#M29416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dot Matrix,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You are using distance as part of the query. The 3.15 API docs say:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;Distance to buffer input geometry. Query results will include features within the distance specified of the query.geometry. Valid &lt;STRONG&gt;only for&lt;/STRONG&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="http://doc.arcgis.com/en/arcgis-online/share-maps/hosted-web-layers.htm" style="color: #00629b; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;" target="_blank"&gt;hosted features services&lt;/A&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;on&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/" style="color: #00629b; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;" target="_blank"&gt;arcgis.com&lt;/A&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;. Optional.&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&lt;EM&gt;(Added at v3.9)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Which I believe this incorrect, but when I use my 10.3.1 ArcGIS Server and choose a &lt;STRONG&gt;Map Server&lt;/STRONG&gt; and look at the rest end point distance is NOT an option on the query capability. But when I use a &lt;STRONG&gt;Feature Server&lt;/STRONG&gt; distance is an option on the query capability. You need to check your code and make sure you are using feature server and not map server when switching to your production server urls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="167473" alt="service.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/167473_service.jpg" style="width: 620px; height: 221px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 14:28:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319111#M29416</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-01-12T14:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from different servers using the same JavaScript code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319112#M29417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well that is interesting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm definitely using a hosted feature service (in the sense that I'm hosting it) as shown in the URL in the code above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14526149800317509 jive_text_macro" data-renderedposition="113_8_912_16" jivemacro_uid="_14526149800317509"&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Flocalhost%3A6080%2Farcgis%2Frest%2Fservices%2Fdata%2Fdevice%2FFeatureServer%2F0" rel="nofollow" target="_blank"&gt;http://localhost:6080/arcgis/rest/services/data/device/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I go into the Query screen of the rest endpoint for the feature service, it doesn't show Distance or Unit. This is the production server that is on 10.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the Sample code provided by ESRI:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/ed_attribute_inspector.html" title="https://developers.arcgis.com/javascript/jssamples/ed_attribute_inspector.html"&gt;Using the attribute inspector | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The use this feature service:&lt;/P&gt;&lt;P&gt;&lt;A href="http://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/NCAA_Tourney_2015/FeatureServer/1" title="http://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/NCAA_Tourney_2015/FeatureServer/1"&gt;http://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/NCAA_Tourney_2015/FeatureServer/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And there server is running 10.3 also:&lt;/P&gt;&lt;P&gt;&lt;A href="http://services.arcgis.com/V6ZHFr6zdgNZuVG0/ArcGIS/rest/services" title="http://services.arcgis.com/V6ZHFr6zdgNZuVG0/ArcGIS/rest/services"&gt;http://services.arcgis.com/V6ZHFr6zdgNZuVG0/ArcGIS/rest/services&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But are they using data that is hosted from ArcGIS Online?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still find it strange that my query is working though, and returning features - however, they just aren't being selected. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 16:20:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319112#M29417</guid>
      <dc:creator>DotMatrix</dc:creator>
      <dc:date>2016-01-12T16:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from different servers using the same JavaScript code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319113#M29418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dot Matrix,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;But are they using data that is hosted from ArcGIS Online?&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;any time you see services.arcgis.com/xxxxxxxxxxx/arcgis/rest/services you can know that it is a service host on AGOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When they talk hosted they are talking about AGOL. Can you chaeck if your development server has the distance property on the rest endpoint page. I am thinking that distance was not added until ArcGIS Server 10.3.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you believe that the query is returning then you should inspect the web response in the network tab of your browsers development tools and see if you have actual features returned with attributes and geometry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 16:52:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319113#M29418</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-01-12T16:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from different servers using the same JavaScript code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319114#M29419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Features with attributes and geometry are definitely being returned in the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I decided to just bite the bullet and upgrade our production server, and it does works now. The features being returned with 10.3 is what was confusing me, and I still don't really understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, this does work with ArcGIS Online and ArcGIS Server 10.3.1 hosted feature services, but NOT 10.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the assistance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 02:32:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/different-results-from-different-servers-using-the/m-p/319114#M29419</guid>
      <dc:creator>DotMatrix</dc:creator>
      <dc:date>2016-01-13T02:32:51Z</dc:date>
    </item>
  </channel>
</rss>

