Select to view content in your preferred language

InfoWindow on Click  question

1305
5
04-02-2013 09:51 AM
NancyGnanicys
Deactivated User
I am trying to set up my data to eventually be consumed in a Flash builder app and would like it to function like the InfoWindow on click sample found here:

http://resources.arcgis.com/en/help/flex-api/samples/index.html#/InfoWindow_on_Click/01nq00000031000...

I believe in the sample, the Owner/Value/Landuse attributes are all fields within the parcel feature layer.   I have a layer similar, but with a permanently related table attached to the polygons, however I'd like to incorporate information from other layers (school dist/election district etc) which are not currently in the table.  Which of my hypothetical ideas would be the best way to tackle this?

Option 1- Add new fields to the table and import the relevant fields' information (con: having to maintain the districts feature class and the related parcel table attributes, pro: would just need identify related table information in pop up and I could be done)

Option 2- Keep them all separate and when the user clicks on a parcel using the 'Identify Features' as shown at
http://resources.arcgis.com/en/help/flex-api/samples/index.html#/Identify_features/01nq0000000z00000...
(Con: I do not like how the information would be contained separately and would need to scroll through information, I'd like to have the district feature layers information to seamlessly appear in one pop up window along with the other parcel info)

Any clues/suggestions welcome.  I'm VERY new to the Flex APIs.
Tags (2)
0 Kudos
5 Replies
NancyGnanicys
Deactivated User
Re-read what I previously wrote and to sum up the question:

How/Is it even possible to incorporate attributes from a feature layer and a related table to display as ONE Info Window on click?


I am trying to set up my data to eventually be consumed in a Flash builder app and would like it to function like the InfoWindow on click sample found here:

http://resources.arcgis.com/en/help/flex-api/samples/index.html#/InfoWindow_on_Click/01nq00000031000...

I believe in the sample, the Owner/Value/Landuse attributes are all fields within the parcel feature layer.   I have a layer similar, but with a permanently related table attached to the polygons, however I'd like to incorporate information from other layers (school dist/election district etc) which are not currently in the table.  Which of my hypothetical ideas would be the best way to tackle this?

Option 1- Add new fields to the table and import the relevant fields' information (con: having to maintain the districts feature class and the related parcel table attributes, pro: would just need identify related table information in pop up and I could be done)

Option 2- Keep them all separate and when the user clicks on a parcel using the 'Identify Features' as shown at
http://resources.arcgis.com/en/help/flex-api/samples/index.html#/Identify_features/01nq0000000z00000...
(Con: I do not like how the information would be contained separately and would need to scroll through information, I'd like to have the district feature layers information to seamlessly appear in one pop up window along with the other parcel info)

Any clues/suggestions welcome.  I'm VERY new to the Flex APIs.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Nancy,

   That is not possible as getting the info for the feature attributes and the related attributes will require two different trips to the server.
0 Kudos
NancyGnanicys
Deactivated User
Thanks Robert:cool:, So the only way to put attribute information from different feature classes onto the property parcel infoWindow is to join them to the feature class. It just seems like much redundant data up keep. I was looking at the Calhoun County Parcel Viewer Flex version and lets say for example you wanted to incorporate council district information to each parcel when a user clicked on a parcel, would you have to add a new 'DISTRICT' field to the parcel feature class, and then maintain both layers. Bummer.:(
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Nancy,

   Well the PopUp has a relationship inspector that allows you to see relationships using the relationship inspector in the popup but you can not have related field displayed just like standard feature attribute fields.

http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/components/RelationshipInspector.ht...
0 Kudos
NancyGnanicys
Deactivated User
I think I will utilize the identify widget instead since I will have multiple layers that I'd like information from but the relationship inspector is great for some other utility items I may add in the future.
0 Kudos