I have set of photos from a sidewalk survey (about 300 points) and around 1,000 photos spread across those points (1-10+ photos per point) that are "Attached" to the feature class at the SDE level. The photos are large, about 10MB each and the entire store of photos is about 11GB total. When trying to deploy the Attachment Viewer configurable app in our Enterprise Portal (10.8.1) I get the "No Attachments Found" message similar to what others have posted.
I wonder if this is related to this bug: https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEzNzI4MQ==
Or maybe I just have too many / too large of attachments?
Solved! Go to Solution.
Thanks @RyanLibed. I ended up redeploying the exact same dataset as Hosted in our Portal and the Attachment Viewer app works as expected, granted a bit slow due to the image file size.
I believe that when I deployed from a Server feature service I met the Data Requirements that you pointed to, but perhaps there is something goofy with our SQL Server side that is making something go haywire. I'll look to those patches on the app moving forward.
Is your app publicly available? If so can you send me the url - feel free to email it at khutchins@esri.com
If its not can you check and see if you've enabled the following setting. If so can you disable it and see if it helps?
Thanks Kelly. This is on-prem, so I can't share the URL. I disabled that setting and it is behaving the same. Interestingly, i just checked against a draft version of this same dataset (1000 pics) that is Hosted in our Portal and it has no issues. the "queryAttachments 1=1" returns in under a second. The Attachment Viewer app built from a Map on that dataset runs as expected, albeit changing photos has a bit of lag because they are so large. Not sure why there would be a difference between SDE and Hosted, but maybe I need to go with Hosted?
Hi Jonathan,
Glad to hear that you got the Attachment Viewer app working from a hosted data set. Please review the details under 'Data Requirements' on Attachment Viewer's item details page as that explains what is needed to get your app up and running successfully.
https://www.arcgis.com/home/item.html?id=65dd2fa3369649529b2c5939333977a1
There are also some performance improvements in Attachment Viewer coming at tonight's June 2021 ArcGIS Online update. So hopefully there is a difference in the amount of time it takes for your app's images to load.
Additionally, we have addressed a 'No attachments found' issue that will also be included in tonight's update.
Best regards,
Ryan
Thanks @RyanLibed. I ended up redeploying the exact same dataset as Hosted in our Portal and the Attachment Viewer app works as expected, granted a bit slow due to the image file size.
I believe that when I deployed from a Server feature service I met the Data Requirements that you pointed to, but perhaps there is something goofy with our SQL Server side that is making something go haywire. I'll look to those patches on the app moving forward.
Jonathan,
Did you ever figure out how to make this work without using a hosted feature service? I am having the exact same troubles and I was told by ESRI support that if my dataset is larger than 2GB it will not work in Hosted or Non-Hosted services.
Hi @RyanJalynski I didn't. I ended up leaving it Hosted. I think I have a task to update the App in our deployment, but I never got around to patching it.
Are you still using 10.8.1 or did you ever upgrade to 10.9.1? I'm curious if this ends up resolving itself when we upgrade (currently on 10.8.1).
I just noticed #BUG-000141013 (The Query Attachments operation does not complete when there is a large number of attachments in a feature service.) was attached to my case with ESRI. It states that this is resolved in version 10.9.1.
The Attachment Viewer app has been updated to use pagination which is the correct approach when working with large numbers of attachments.
We are actually upgrading next weekend, I'll post again around that time and let you know if that worked for us.