AnsweredAssumed Answered

Different results from different servers using the same JavaScript code?

Question asked by geo. on Jan 9, 2016
Latest reply on Jan 12, 2016 by geo.

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 AttributeInspector. Simple as that. I have a side panel with a div inside <div id="attributes"></div> where the AttributeInspector is created when a feature is selected.

 

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.

 

On the production server, when I click on a feature in the map, the AttributeInspector message says "No features selected" in the side panel. But on my development server it actually creates the AttributeInspector and shows the attributes and allows for editing.

 

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.

 

The only difference is that the development machine is running ArcGIS Server 10.31, and our production server is running 10.3.

 

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.

Outcomes