Select to view content in your preferred language

How to keep attachments with Join Feature hosted layer view?

6433
16
Jump to solution
05-29-2019 08:45 AM
AaronWorthley1
Frequent Contributor

When using Join Features in ArcGIS Online to join a related table to a hosted feature layer per: https://www.esri.com/arcgis-blog/products/product/mapping/visualizing-related-data-with-join-feature..., the attachments in the hosted layer (as well as the related table) do not appear to persist in the new View. Is there a way to keep the attachments from the original layer in the joined layer view?

1 Solution

Accepted Solutions
TylerBurns
Occasional Contributor

Hi Aaron,

I looked into this a bit further and found that this is actually a limitation of the ArcGIS Online platform at the moment, and a bug has already been submitted to call attention to the issue. More information on this reported bug can be found below.

https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExODc2Ng==

Apologies for this limitation-- an alternative option may be explore the arcade script to link back to the original attachments as you mentioned, otherwise it may be viable to download the feature service data as a FGDB with the attachments and performing the join in the desktop client before re-publishing the service.

View solution in original post

16 Replies
TylerBurns
Occasional Contributor

Hello Aaron,

A hosted layer view should inherit the attachment setting of the original hosted feature layer by default. I am not aware of if having a join on the layer affects this or not, at this time.

  • Can you reproduce the issue with viewing attachments on the View, if you create the hosted feature layer view without the join applied?

Another setting that will be worthwhile to check is to make sure that "hide attachments" is not enabled on newly created hosted feature layer View. Check this with the following steps:

  1. Open the item details page for the View layer that was created from the original layer.
  2. Look for the Layers list on the "Overview" tab.
  3. Click any "Show attachments" links that you see.

More information on showing and hiding attachments in Feature Layer Views can be found below.

AGOL: Manage Hosted Feature Layers (Specific Section link)

https://doc.arcgis.com/en/arcgis-online/manage-data/manage-hosted-feature-layers.htm#ESRI_SECTION2_7...

Regards,

TB

AaronWorthley1
Frequent Contributor

Creating a layer view without the join maintains attachments. Hide attachments is not an option after creating a joined layer view.

After posting this question I found this: https://community.esri.com/thread/229275-is-there-a-way-to-join-a-hosted-feature-set-with-a-table-wi...

This thread seems to suggest it is not possible to maintain attachments with a join. A partial arcade script is included, which I think is intended to help add a link back to the original layer attachment into the pop-up of the joined layer view...but I haven't experimented with it yet.

It seems pretty fundamental that the joined layer view should maintain all the features of the original layer(s) including fields and attachments, so I hope this will be remedied soon.

TylerBurns
Occasional Contributor

Hi Aaron,

I looked into this a bit further and found that this is actually a limitation of the ArcGIS Online platform at the moment, and a bug has already been submitted to call attention to the issue. More information on this reported bug can be found below.

https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExODc2Ng==

Apologies for this limitation-- an alternative option may be explore the arcade script to link back to the original attachments as you mentioned, otherwise it may be viable to download the feature service data as a FGDB with the attachments and performing the join in the desktop client before re-publishing the service.

KerryKang
Frequent Contributor

Hello Tyler, 

Is there any enhancement on this topic? maintaining attachments in joined view layers?

Cheers,

K

spatialcase
Emerging Contributor

This is still an issue.  Has anyone found a workaround yet?

BrittanyBurson
Frequent Contributor

Hi @TylerBurns - many are pointing out that this bug is marked as "implemented" but we are experiencing the same issue. Is it possible to re-open the bug? Thank you

DataOfficer
Frequent Contributor

I also have this issue

PetronilaMandeno
Frequent Contributor

I'm having this problem too. The bug page says that it has been fixed. But I just performed a join and the attachments didn't come through. Has anyone figured out an elegant work-around?

BrittanyBurson
Frequent Contributor

As others have mentioned, the bug appears to say Status: Implemented at 8.1, but I am having the same issue. Another call for elegant work-arounds? 

0 Kudos