2
  1. I created a file gdb and imported both the table and shapefile.
  2. Added them to the ArcMap table of contents and created a relate.
  3. Published as a service & ensured all was correct in the dialog box.
  4. I've added the layer to a basemap in ArcGIS Online.

Both the feature layer & related table show up in the contents however as shown in the picture below the option to "show related tables" is not available which is what I need.

enter image description here

  • 2
    I believe you have to create a relationship class in a geodatabase, not a relate inside the ArcMap map document – Alex Tereshenkov Jan 26 '16 at 10:06
  • Also check the feature service to see if there is any relationship info in each of the layers. – Russ Roberts Jan 26 '16 at 13:02
  • There is a Query Related Records Application you can download and customize to display the information. As @AlexTereshenkov mentions - you will need to build the relationship class inside the gdb first and not in the application. – MDHald Jan 26 '16 at 14:13
  • Hi, guys!! How do you build the relationship inside the gbd?? I can't seem to find any options to do so :/ Thanks for the replies – Trevor.Dinan Jan 27 '16 at 9:23
2

From you GDB you right click new relationship class also when you add your feature in AGOL you need to add the relate table and it will show when you do identify. Relationship GDB

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.