Select to view content in your preferred language

Selecting Features and Highlighting a Table

3375
19
11-20-2012 05:11 AM
GaryBarden
Regular Contributor
Could someone point me in the direction of information of how to select a feature on a map and having the corrisponding record highlight on a table? I'm using ArcServer 9.3.

Thank you,

Gary Barden
0 Kudos
19 Replies
JohnGravois
Deactivated User
have you seen this sample?
0 Kudos
GaryBarden
Regular Contributor
I had not...is that version 9.3?
0 Kudos
EdwardHinkle
Occasional Contributor
Here is an example of what you are wanting to do. If you have any questions after looking through the code, let us know.

http://www.arcgis.com/home/item.html?id=ec79bf76517843c6a1bb09740ef4a221
0 Kudos
JohnGravois
Deactivated User
the sample demonstrates functionality available at version 3.2 of our JavaScript API.  it uses a feature layer based on a 10.0 map service, but would work equally well with a 9.3 service.

(just as an fyi, if you want to know the version of ArcGIS Server which is hosting a service, just navigate from its REST URL to the associated services directory (see examples below).  in the upper righthand corner of the page, the version of ArcGIS Server will be listed.)

service in use
http://server.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_Median_Net_Worth/MapServer/4

REST service directory
http://server.arcgisonline.com/ArcGIS/rest/services/
0 Kudos
GaryBarden
Regular Contributor
Thanks, these are great examples of what I want our app to do, but our develops are telling us it can't be done because they are using an older verion of the Java API and the Dojo library, but from the looks of it, these examples are a couple of years old, so we should be able to develop something like this.
0 Kudos
GaryBarden
Regular Contributor
I just checked. The API is version 2.8 and the DOJO library is version 1.6. Any idea if this would prevent us from being able to develop this functionality?
0 Kudos
JohnGravois
Deactivated User
whats keeping them from migrating to the newest version of our API?

if you can't move to Dojo 1.7 and use a dgrid, you'd want to check out a sample like this.
0 Kudos
GaryBarden
Regular Contributor
They say that migrating to the new API will require "a lot of work", related to upgrading servers and something about the web server must be on a separate machine....
0 Kudos
TracySchloss
Honored Contributor
I've never heard of such a thing!  I am still using ArcGIS server 9.3 (not even 9.3.1).  The only issues at all I've had with some of the newest dojo or Javascript API has to do with the fact we are still running a rather old version of IE as our default browser internally.  That has nothing at all to do with what we do or don't have on our servers.
0 Kudos