We have a map with one layer with the filter "CreationDate in the last week". I created a web app using the Attachment Viewer and it's showing attachments for features not on the map. I need the Attachment Viewer to show only attachments that make it through the filter. How to do? In the attached screenshot notice how there is only one point drawn yet Locations are 1/35.
In the second image above the pop-up is on the main feature -- not related.
You are still a member of the group the feature layer, web map and instant app (Attachment Viewer) are in so you should be able to access directly.
Hi Paul,
Thanks, I had a chance to look at it more. I think I see what is going on. Since the table stores the attachments, the pop-up information that is displaying in the app is using the attributes from that feature. You want the pop-up information from the related feature that does not have an attachment.
I would recommend using arcade to bring in the attribute information from the related feature onto the pop-up for the attachment in the table.
Here are a few resources that can help you do that:
https://learn.arcgis.com/en/projects/access-attributes-from-another-layer-with-arcade/
Thanks!
Sarah
Hi again Sarah,
I finally made it back to this. I went through the materials above and am now editing the Arcade, but I'm still not sure how to get Attachment Viewer to point back to the main record and not the Related feature.
There are only two features in the current filter yet the Attachment Viewer is showing four attachments. It should show two features.
Hi Sarah,
Thank you for helping me resolve my original issue with filtering on the Attachment Viewer. Do you have any thoughts on my additional question about showing detail for the feature and not the attachment? How can I show a map pop-up in Attachment Viewer?
Paul
Hello again @SarahMcDonald_Esri -- any update on this?