trying to create a web map with related layers using either desktop or arcgis pro but having trouble

4719
5
Jump to solution
06-02-2015 04:24 PM
MelisaEnnella
New Contributor

I am trying create a web map for viewing in Arcgis.com created in either desktop 10.3.1 or arcgis pro and I cannot get it to work the way I would like. I am trying to create a web map where I can relate either a table or layer to another layer. I had read online that it is possible to create this kind of relationship in desktop and share as a service but I cannot get it to work.  Any tips or advice would be greatly appreciated. Also, when I create a map in desktop and share as a service to arcgis online it doesn't create a web map but rather a feature layer and service definition, how to I create a webmap from desktop? Thanks for the help !

0 Kudos
1 Solution

Accepted Solutions
ReubenWeinshilboum
New Contributor III

I think that you have two questions, Melisa. First of all, you need to create a Relationship Class (Note: that this is different from a "Relate" that you create from right clicking on the layer and selecting Joins and Relates). Place both your feature class and table (the one that you want to relate to) in the same geodatabase. In ArcGIS for Desktop 10.3.1 open the Catalog, navigate to your geodatabase, right click on the name of the geodatabase, and select "New"/"Relationship Class...". Work through the steps of the New Relationship Class Wizard. When you are finished, make sure that both the feature class and table that you want to publish are in the Table of Contents (you can check this by using "List By Source" which is the second icon under the words Table of Contents). Publish your feature class to ArcGIS Online, AGOL. The second part of your question is how to make the web map. I think you will find this part easy. After you sign in to AGOL, select "Map" to create a new map. Click on Add, Search for Layers in My Organization, and add your feature layer. Make sure to configure the pop-up for your feature layer. Now, when you select a feature, you should see the attributes of your feature in the pop-up, as well as, a "Show Related Records" link at the bottom of the pop-up. Make sure to save your web map and you're done.

View solution in original post

5 Replies
SepheFox
Frequent Contributor

Hi Melissa, you can't create a web map in desktop. you have to create it in arcgis online.

0 Kudos
ReubenWeinshilboum
New Contributor III

I think that you have two questions, Melisa. First of all, you need to create a Relationship Class (Note: that this is different from a "Relate" that you create from right clicking on the layer and selecting Joins and Relates). Place both your feature class and table (the one that you want to relate to) in the same geodatabase. In ArcGIS for Desktop 10.3.1 open the Catalog, navigate to your geodatabase, right click on the name of the geodatabase, and select "New"/"Relationship Class...". Work through the steps of the New Relationship Class Wizard. When you are finished, make sure that both the feature class and table that you want to publish are in the Table of Contents (you can check this by using "List By Source" which is the second icon under the words Table of Contents). Publish your feature class to ArcGIS Online, AGOL. The second part of your question is how to make the web map. I think you will find this part easy. After you sign in to AGOL, select "Map" to create a new map. Click on Add, Search for Layers in My Organization, and add your feature layer. Make sure to configure the pop-up for your feature layer. Now, when you select a feature, you should see the attributes of your feature in the pop-up, as well as, a "Show Related Records" link at the bottom of the pop-up. Make sure to save your web map and you're done.

MelisaEnnella
New Contributor

Thank you soooooooooo much that did the trick!

0 Kudos
SepheFox
Frequent Contributor

That's great Melissa! Can you mark Rueben's answer as correct in that case? Thanks!

0 Kudos
mahmoudfadel2
New Contributor II

Hi Reuben Weinshilboum ,

i created a Relationship Class between 2 layers and see Related Records link in both of them , now i need to filter both of them  in one filter ... is ti possible ?

0 Kudos