Select to view content in your preferred language

One to Many joins

2677
7
02-22-2016 01:16 PM
BrianGober
Deactivated User

I have a point layer that is joined to a photos table. One point can have multiple photos. I created the join successfully and published it as a map service, then added the layer into AGOL. For some reason it is duplicating the points. Example - I have one point that has 3 photos. The one point is then duplicated 3 times in the table. Also it is only showing one photo and I want to be able to scroll through the photos in a single pop-up. Is this workflow supported in AGOL? If so, any ideas on what I am doing wrong?

Thanks!

0 Kudos
7 Replies
DanPatterson_Retired
MVP Emeritus

the help link... ArcGIS Online Help | ArcGIS

it is a popup you are trying to configure

Configure pop-ups—ArcGIS Online Help | ArcGIS

0 Kudos
BrianGober
Deactivated User

Yes, the pop-up is configured to show photos, but it will only show 1 photo. Whereas some points have multiple photos associated with them (through the join). I wanted to know if a single pop-up window can support multiple photos.

0 Kudos
DanPatterson_Retired
MVP Emeritus

details for related data are given in the 2nd link I posted on configuring popups... it is too lengthy to copy and paste, but you really need to read it in order to assess whether you want to proceed along that route or take another... It begins in the section on related data

Follow the steps below to configure pop-ups to display related data.  Follow the first six steps in the Configure pop-up section.

BrianGober
Deactivated User

Thanks. Yes I have read the related data section. Maybe since I have both a join and a relate, this may be causing the issues of duplication.

0 Kudos
DanPatterson_Retired
MVP Emeritus

That may indeed be the case, if there are duplications, then duplications will appear

0 Kudos
JayantaPoddar
MVP Esteemed Contributor

You could create a geodatabase relationship class Create Relationship Class—Help | ArcGIS for Desktop , and configure the popup for related data Configure pop-ups—ArcGIS Online Help | ArcGIS , as mentioned by Dan Patterson



Think Location
0 Kudos
BrianGober
Deactivated User

Yes I have both a relate and a join. Maybe this might be causing the duplication. Thanks.

0 Kudos