Select to view content in your preferred language

How to popup query tables associated to different points from a shapefile

749
5
03-16-2013 01:19 PM
VivianaMorales
Emerging Contributor
Hi

I have created a geodatabase containing information for different measuring stations (point shapefile). For each station I was able to generate a query table (one to many) which allowed me to have the information for each station. Now I want these tables to popup when I click on the corresponding station in the map. Is there a simple way to do this?? Where can I find example codes to guide me??

Thanks a lot

Viviana
Tags (2)
0 Kudos
5 Replies
RhettZufelt
MVP Notable Contributor
You should be able, in ArcMap to create a 1:many realate between the shapefile and your table.

then publish to service and load into flexviewer. 

should then be able to configure a popup for that layer, set <showrelatedrecords> to true. http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Pop_up_configuration_files/01m3...

this should let you click on a feature to get the attribute info in a popup, if there are related fields, it should let you expand to see the related info as well.

R_
0 Kudos
VivianaMorales
Emerging Contributor
Thanks, I was able to do the relate but now I need to learn how to install ArcGIS for Server because I haven't use it before, so I am not able to publish the shapefile in the service

Viviana
0 Kudos
VivianaMorales
Emerging Contributor
Hi

I was not able to install ArcGIS for server, is there another way to configure the popup for the layer???
What I need is to show a table of temperature and other parameters varying with depth for each station. So for each station I have many temperature data. Also I have other stations that have water surface elevation varying with time, in this case I need to show for each station many water surface elevations.
Any ideas

Thanks again

Viviana
0 Kudos
RhettZufelt
MVP Notable Contributor
Viviana,

I am not aware of a way to get the shapefile data into a FlexViewer app without publishing it as a service (other than the shapefiles widget, but that doesn't give you popup access to the attributes, just displays and a single label).

I believe the ArcGIS Online account can be used for this ( http://www.arcgis.com/about/features.html ), but I have no experience using it at all.

I see that they offer a 30 day free trial, maybe this will work for you.

Otherwise, maybe someone else with more insight will reply to this post,

R_
0 Kudos
VivianaMorales
Emerging Contributor
Thank you so much for all the information, I will see if if I can use it.

Viviana

Viviana,

I am not aware of a way to get the shapefile data into a FlexViewer app without publishing it as a service (other than the shapefiles widget, but that doesn't give you popup access to the attributes, just displays and a single label).

I believe the ArcGIS Online account can be used for this ( http://www.arcgis.com/about/features.html ), but I have no experience using it at all.

I see that they offer a 30 day free trial, maybe this will work for you.

Otherwise, maybe someone else with more insight will reply to this post,

R_
0 Kudos