Cannot see related attributes

2226
14
06-13-2013 07:14 AM
KendellRyan
Frequent Contributor
I am trying to view attributes in a related table in my map viewer.  I have a personal geodatabase where I created the relationship class (relating a table to a feature class).  I published my .mxd (10.1) as a feature service to AGOLO and can view it successfully in my map viewer. The description for the feature class shows that it sees the relationship class to the table.  However I cannot find any way to be able to see the related attributes in the pop-up (enabled attachments), in the table or anywhere in ArcGIS online.  I could not find information in the help or an answer in the forums though I see reference to this being possible.  Does the data have to originate in SDE? Is there something else I need to do when publishing it or once it's in AGOLO?
Tags (2)
0 Kudos
14 Replies
NilsBabel
Frequent Contributor

Hi Mike Minami have a one to many relationship.  I'm not displaying any of the related fields in the popup.  I just like the show related features option.  It works great when all the foreign keys are filled in but when a foreign key is not entered in the many feature, of the one to many relationship, I get a blank popup. 

1)popup error.png

2) I don't need any of the related fields to show in collector. I will be interested to edit related records when that feature is available. 

I've deleted my relationships and republished my feature service and the popups work again as expected.

Thanks

0 Kudos
MikeMinami
Esri Notable Contributor

this appears to be a bug. What type of field is the relationship set on, string, numeric?

What happened when you clicked Show Related Records? Did the table display? Or did you get a message saying no related records?

Thanks,

Mike

0 Kudos
NilsBabel
Frequent Contributor

I have two relationships, one is a string and the other is an integer.  When I click the Show Related Records I get the message that says no related records.  But that is to be expected because the field with the foreign key of the related record is blank.  If I click another feature that has the foreign keys filled in correctly then I can display the related records correctly.

0 Kudos
MikeMinami
Esri Notable Contributor

Can you tell me what the popup is supposed to show? Should it be displaying attributes from the main table or have you hidden all the main table attributes and only showing summary statistics? Do you have any charts defined on related fields?

Thanks,

Mike

0 Kudos
NilsBabel
Frequent Contributor

No charts or summary statistics.  Just attributes from the attribute table.  A few are hidden (e.g. OBJECTID, etc.)

0 Kudos