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 !
Solved! Go to Solution.
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.
Hi Melissa, you can't create a web map in desktop. you have to create it in arcgis online.
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.
Thank you soooooooooo much that did the trick!
That's great Melissa! Can you mark Rueben's answer as correct in that case? Thanks!
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 ?