Select to view content in your preferred language

Display a joined field in a popup window when feature is clicked (FLEX)

1173
2
Jump to solution
03-06-2012 10:43 AM
BobbySaleh
Deactivated User
Hi all,

I am trying to do what I believe to be a simple task - to have my popup window display fields from the origin featureclass(the one clicked on) as well as from the table that the fc is joined to.  The join is setup in my mxd/msd.  I published my service from the msd.

Any help would be greatly appreciated.

Here is the code:
<layer label="Data" type="dynamic" visible="true" alpha=".65 "  url="http://xyz-8228/ArcGIS/rest/services/Alaska/Data_Viewer1/MapServer">              <sublayer id="2" popupconfig="apps/DEV/popups/PopUp_1.xml" />           </layer>


Popup xml is as follows:
<?xml version="1.0" ?> <configuration>     <title>Environmental Resource Area - {RESOURCE_NAME}</title>     <fields>         <field name="RESOURCE_LONG_NAME" alias="Resource Name" visible="true">         </field>     </fields>     <showattachments>false</showattachments> </configuration>


I just want to know what syntax to use so that it will pull from my joined table (which I am not showing at the moment).  This seems simple but I cannot find any posts on it...


Thanks in advance!
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Bobby,

   Go to the REST Service directory by pasting http://xyz-8228/ArcGIS/rest/services/Alaska/Data_Viewer1/MapServer/ (plus layers id number like 2) the  into a browser window and you will see a listing of fields for that layer whatever the LONG joined name for that field is (i.e. sde.TableName.FieldName) use that.

Don't forget to click the Mark as answer check and to click the top arrow (promote) as shown below:

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Bobby,

   Go to the REST Service directory by pasting http://xyz-8228/ArcGIS/rest/services/Alaska/Data_Viewer1/MapServer/ (plus layers id number like 2) the  into a browser window and you will see a listing of fields for that layer whatever the LONG joined name for that field is (i.e. sde.TableName.FieldName) use that.

Don't forget to click the Mark as answer check and to click the top arrow (promote) as shown below:
0 Kudos
BobbySaleh
Deactivated User
Robert,

Thank you so much!
0 Kudos